Your password is not correct, try connect with:
mysql -u root -p<YOUR_PASSWORD_HERE>
Or, use mysqlsafe and change your root password.
1
solved mysql_exceptions.OperationalError | _mysql_exceptions.OperationalError: (1045, “Access denied for user ‘root’@’localhost’ (using password: YES)”) [closed]