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

后端 未结 18 1420
暖寄归人
暖寄归人 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:36

    Try adding the socket:

    'unix_socket' => '/Applications/MAMP/tmp/mysql/mysql.sock',
    

提交回复
热议问题