Error! info: Can not connect to MySQL server

Time: 2021-6-17 6:25pm
Script: /index.php

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