Question: I am trying to start CakePHP. I made bookmarker and tested by command `bin\cake server`. It showed one error as connection to database could not be established: 

`SQLSTATE[HY000] [1045] Access denied for user 'my_app'@'localhost' (using password: YES).`

I read the `config/app.default.php` file. It says there is a database `my_app` and another database `test_myapp` with some users. I can not find these databases in phymyadmin in xampp. Am I supposed to create the named databases and users manually? I thought CakePHP should create these automatically. Or should I give names of databases etc. which I like and create the same.I'm using xampp with windows 7 and am very new to CakePHP.

Answer: 
Edit **Config/app\_local.php** file with your database connection parameters. You will find host, username, password, database name their.

**don't edit config/app.php** with database connection parameters.

**Your problem will be now solved**

*CakePHP 4.x*
If you are using wamp, make sure port is uncomment in Datasources and 'port' => '3308'