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
分享 Linux/Apache/PHP+MySQL/Smarty/JQuery/RubyOnRails 的點點滴滴!
沒有留言:
張貼留言