2015年11月22日 星期日

Laravel5 - php artisan migrate cause PDOException SQLSTATE[HY000] [2002] No such file or directory

Short answer: Change "host" in the .env file from "localhost" to "127.0.0.1"

reference : http://stackoverflow.com/questions/20723803/pdoexception-sqlstatehy000-2002-no-such-file-or-directory

沒有留言:

wibiya widget