Error: Can not connect to MySQL server

Time: 2018-10-17 9:19am
Script:

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