Warning: mysqli::mysqli(): (28000/1045): Access denied for user 'root'@'localhost' (using password: YES) in /var/www/html/Config/config.php on line 40

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: YES)' in /var/www/html/Config/config.php:42 Stack trace: #0 /var/www/html/Config/config.php(42): PDO->__construct('mysql:host=127....', 'root', 'P@cnp@)!(', Array) #1 /var/www/html/index.php(2): include_once('/var/www/html/C...') #2 {main} thrown in /var/www/html/Config/config.php on line 42