ERROR SQLSTATE [HY000] [1045] while upgrading

Good afternoon,
I have updated Matomo to its new version and after this, a message appears stating that I cannot connect to the database

I have tried to create another new database, change the data in the config.ini and other data and it keeps constantly asking for the same access data:
Could we get support?
Thank you.

Hi,

The error message comes from your MySQL/MariaDB server. It tells you that the your user does not have permission to access the database.

If you didn’t change tthe MySQL user password during the update, it is more likely that Matomo now in the newer version uses temporary tables for some things, but your MySQL user doesn’t have the permission to create them.

So please grant your MYSQL user this permission and it should work again.

See also: