CakePHP Database connection “Mysql” is missing, or could not be created

后端 未结 18 1423
暖寄归人
暖寄归人 2020-11-30 11:05

There have been several other posts about this, but none of the answers seemed to work for me.

When I navigate to the CakePHP page on my local machine, there is one

18条回答
  •  情书的邮戳
    2020-11-30 11:39

    I have had this problem since upgrading to OSX Yosemite and inserting following line did the trick for me:

     'unix_socket' => '/tmp/mysql.sock'
    

提交回复
热议问题