Resolve Error “Restarting MySQL due to my.cnf modifications."

kumkumsharma

Administrator
Staff member
Mysqluserstore script helps to update users.db and users.db.cache file. You can check location of these files :

Code:
/var/cpanel/databases/users.db
/var/cpanel/databases/users.db.cache
After that you will get below error:

Code:
[mysqluserstore] Restarting MySQL due to my.cnf modifications.
You have to do following settings in WHM:

Login to WHM >> Server Configuration >> Tweak settings.

If your below options are enabled then you are getting error:

Code:
Allow cPanel & WHM to determine the best value for your MySQL open_files_limit configuration?
Allow cPanel & WHM to determine the best value for your MySQL max_allowed_packet configuration?
If you cannot restart Mysql service then you have to disable above settings.
 
Top