Changing a Cpanel password changes the MySQL password...


Well-Known Member
Jul 23, 2004
When I change a Cpanel password it also changes the MySQL password. While I realize this may be useful under some circumstances it has turned out to be a problem for me most of the time. I.e. when I have to change a customer's password because the account was hacked his MySQL based CGI scripts do no longer work because the MySQL password has been changed. Now I often do not know where the scripts are located etc.

Is there any way to turn this of ? I mean to change an account password without changing the MySQL password ?


cPanel Development
Staff member
Apr 7, 2006
cPanel Access Level
Root Administrator
Changing the cPanel account password will also change it for any service login used by that account. It will not change it for virtual users associated with the account. For example, changing the password for the user ckenneth would change the cPanel, FTP, MySQL, PostgreSQL and email logins for that account, but not the ckenneth_user MySQL virtual user, nor for any other virtual user. In this context, a virtual user is one whose user name is of the format user_name where user equals the cPanel account name.