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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
