Owncloud migration whm data base connexion

Hi guys,

Im having trouble to migrate my owncloud heres what i got after moving the whole data

Internal Server Error

The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the server log.

the error on log* mention that the user cannnot connect to the data base

[17-Jul-2022 11:08:12 UTC] PHP Fatal error: Uncaught Doctrine\DBAL\DBALException: Failed to connect to the database: An exception occurred in driver: SQLSTATE[HY000] [1044] Access denied for user ‘xxxxxx’@‘localhost’ to database ‘xxxxxxx’ in /home/xxxxxxx/xxxx.xxxxxxxx/lib/private/DB/Connection.php:64

any help please ?

Looks like your database credentials are not correctly set in config.php. Or the permissions for the database user are not correctly set within the database server. Note that you have to grant access for the user to certain database tables.

good luck,
Klaas