Phone  (866) 435-5642      Email  [email protected]
Live Chat   Live Chat     |     Register     |     Login

Why do I get "access denied" errors when trying to connect to MySQL? Print

  • 102

If you cannot connect to the MySQL server, this might happen due to several reasons:

  • Incorrect MySQL hostname. The MySQL hostname is localhost.

  • Incorrect MySQL username / password or database name. Please navigate to cPanel -> MySQL to check this information. If you cannot remember what password is set on the MySQL user, feel free to delete it and recreate it one more time.

  • You have not added the MySQL user to the database. This is a very common issue that people forget to do. In order to have a fully operational MySQL database you must also add a MySQL user to the MySQL database and assign full permissions. You can achieve this by clicking on the 'Add' button under 'cPanel' -> 'MySQL Databases' -> 'Add User To Database' section.

If you have any other issues with the MySQL connection after taking these steps, please let us know.


Was this answer helpful?

« Back

Powered by WHMCompleteSolution


Questions? We're ready to help.

Call us now: (866) 435-5642

Copyright © 2001-2023 H4Y Technologies LLC
Follow us:   Facebook   Facebook
Back to Top