Error! info: Can not connect to MySQL server

Time: 2021-5-12 3:12am
Script: /index.php

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