Error: Can not connect to MySQL server

Time: 2019-4-21 10:11pm
Script:

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