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

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.