I get incorrect root password when accessing a MySQL Cpanel feature.

Last modified: August 1, 2020
You are here:
  • KB Home
  • cPanel
  • I get incorrect root password when accessing a MySQL Cpanel feature.
Estimated reading time: < 1 min

The CPanel needs to know the MySQL root password. To do this you need to edit or create a file in /root called .my.cnf

The file should look something like this:

[client] user=root
pass=rootpassword

This will fix the error in the CPanel.

Was this article helpful?
Dislike 0
Views: 15