Error! info: Can not connect to MySQL server

Time: 2021-7-28 2:01am
Script: /index.php

Error: Access denied for user 'root'@'localhost' (using password: YES)
Errno.: 1045