I used the CPanel WHM interface to move MySQL from v5.0 to 5.6 earlier this week. Last night I got an email from my system that claims there are now problems with older MySQL RPMs. The email said:
Problems were detected with cPanel-provided files which are RPM
controlled. If you did not make these changes intentionally, you can
correct them by running:
> /usr/local/cpanel/scripts/check_cpanel_rpms --fix
The following RPMs are found to be altered from their original install
state:
compat-MySQL51-shared,5.1.73,4.cp1136,/usr/lib64/libmysqlclient.so.16.0.0
And when I ran check_cpanel_rpms on the machine I got:
/usr/local/cpanel/scripts/check_cpanel_rpms --list-only prelink: /usr/lib64/libmysqlclient.so.16.0.0: at least one of file's dependencies has changed since prelinking [20141025.184811] [20141025.184811] Problems were detected with cPanel-provided files which are RPM controlled. [20141025.184811] If you did not make these changes intentionally, you can correct them by running: [20141025.184811] [20141025.184811] > /usr/local/cpanel/scripts/check_cpanel_rpms --fix [20141025.184811] [20141025.184811] The following files were found to be altered from their original RPM: [20141025.184811] compat-MySQL51-shared,5.1.73,4.cp1136 [20141025.184811]
That's 5.1 it's complaining about which is not the currently running version.
The --fix option on check_cpanel_rpms is pretty magic -- I'm not certain it's safe to run; it's likely it'll take down my MySQL instance as part of the "fix".
How do I correct this warning? I'd prefer a method that wouldn't have me incur a MySQL outage if that's possible.