SQLSTATE[HY000] [1045] Access denied for user 'username'@'localhost' using CakePHP

后端 未结 5 1825
温柔的废话
温柔的废话 2020-11-27 19:23

I am new to PHP and CakePHP. I am finding problems while wiring my database using CakePHP.

Below is my application configuration.

I am on Bitnami WAMP stack

5条回答
  •  谎友^
    谎友^ (楼主)
    2020-11-27 20:06

    If you use MAMP, you might have to set the socket: unix_socket: /Applications/MAMP/tmp/mysql/mysql.sock

提交回复
热议问题