Symptoms

Upon resetting a cPanel users password, you find that the users database grants file does not get updated. This can result in restores of the cPanel account restoring an older password for the cPanel accounts MySQL user.

 

Description

We've opened an internal case for our development team to investigate this further. For reference, the case number is CPANEL-51113. Follow this article to receive an email notification when a solution is published in the product. 

 

Workaround

Update the users grants file using the script below, where {user} is the cPanel username:

/usr/local/cpanel/bin/dbstoregrants {user}