Access denied error while connecting to MySQL database after database migration
Issue
- Could't connnect to MySQL database after restoring the database dump on a new server, and using the old credentials.
- Error 1045 (28000): Access denied for user 'username'@'localhost' (using password: YES)
Environment
- Red Hat Enterprise Linux all versions.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.