Error: Can not connect to MySQL server

Time: 2019-6-18 12:45am
Script:

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