Database Connetion error cape 4.0.5

Hi Guys.

I have sit with this database connection problem since yesterday
CakePHP is NOT able to connect to the database.
Connection to Mysql could not be established: SQLSTATE[HY000] [1045] Access denied for user ‘my_app’@‘localhost’ (using password: YES)

I have both edited the app.local.php and app.php files. Still the same error message.

I stored the download version of mycake 4.0.5 in the following folder. wamp64/www/mycake

I use wamp 3.2.0
Php 7.3.12
MySql 8.0.18

I have tried all the examples on the cakephp wesite and youtube even.

Can you connect to the database by running mysql on the command line?

I sorry I don’t know to use that command.

Please could you send it or post it here.

Kind Regards,


This is really basic stuff…

Thank you very much. i did come right yesterday.

It seem the problem in mysql was. That I use wamp server and my phpadmin and created the file manual for the server. Which in of course means no main root account and main password.

I have gotten it working now.