nyanhost

Active Member
Nov 4, 2013
28
0
1
cPanel Access Level
Root Administrator
Hello!
I installed MySQL 5.6, but my mysql-libs is so old.
Code:
 rpm -qa|grep -i mysql
cpanel-perl-514-DBD-mysql-4.024-1.cp1136.x86_64
MySQL56-devel-5.6.14-1.cp1142.x86_64
MySQL56-shared-5.6.14-1.cp1142.x86_64
cpanel-mysql-5.0.96-1.cp1136.x86_64
MySQL56-client-5.6.14-1.cp1142.x86_64
MySQL56-server-5.6.14-1.cp1142.x86_64
cpanel-mysql-libs-5.0.96-1.cp1136.x86_64
cpanel-perl-514-MySQL-Diff-0.43-1.cp1136.x86_64
MySQL56-test-5.6.14-1.cp1142.x86_64
And I have error in php-script: "Headers and client library minor version mismatch. Headers:50534 Library:50614"

How I can to upgrade mysql-libs?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
Hello :)

I installed MySQL 5.6, but my mysql-libs is so old.
Please keep in mind that cpanel-mysql RPM is a separate package to the MySQL version installed for your websites. It's used internally for cPanel/WHM.

And I have error in php-script: "Headers and client library minor version mismatch. Headers:50534 Library:50614"
What method did you use to upgrade MySQL? Did EasyApache run after the upgrade?

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
Please ensure you use "WHM Home » Software » MySQL Upgrade" when upgrading MySQL in the future. What error message do you receive when attempting to build Apache/PHP through EasyApache?

Thank you.
 

nyanhost

Active Member
Nov 4, 2013
28
0
1
cPanel Access Level
Root Administrator
Please ensure you use "WHM Home » Software » MySQL Upgrade" when upgrading MySQL in the future. What error message do you receive when attempting to build Apache/PHP through EasyApache?

Thank you.
No errors when using EasyApache now.

But I can't reinstall mysql and rebuild Apache/PHP because I have many clients...
I can't experimentalize in my server.

I want just upgrade this package:

cpanel-mysql-5.0.96-1.cp1136.x86_64
cpanel-mysql-libs-5.0.96-1.cp1136.x86_64



Did EasyApache run after the upgrade?
I running it after the upgrade MySQL. No errors.
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
I want just upgrade this package:

cpanel-mysql-5.0.96-1.cp1136.x86_64
cpanel-mysql-libs-5.0.96-1.cp1136.x86_64
The cpanel-mysql RPM is a separate package to the MySQL version installed for your websites. It's used internally for cPanel/WHM. You must build Apache/PHP through EasyApache at least one time successfully after a MySQL upgrade or you will experience the error messages you have reported.

Thank you.
 

nyanhost

Active Member
Nov 4, 2013
28
0
1
cPanel Access Level
Root Administrator
The cpanel-mysql RPM is a separate package to the MySQL version installed for your websites. It's used internally for cPanel/WHM. You must build Apache/PHP through EasyApache at least one time successfully after a MySQL upgrade or you will experience the error messages you have reported.

Thank you.
Hello!

I click to Upgrade MySQL in WHM.

Beginning MySQL upgrade...
Running: /usr/local/cpanel/scripts/check_cpanel_rpms --targets=MySQL50,MySQL51,MySQL55,MySQL56 --fix
MySQL upgrade completed successfully
------------------------------------
Checking for Ruby update...
No Ruby update required.
And I did click to Rebuild Apache / PHP (EasyApache).

Upgrade is finish successfully, but I have:

[email protected] [~]# rpm -qa|grep -i mysql
cpanel-perl-514-DBD-mysql-4.024-1.cp1136.x86_64
MySQL56-devel-5.6.14-1.cp1142.x86_64
MySQL56-shared-5.6.14-1.cp1142.x86_64
cpanel-mysql-5.0.96-1.cp1136.x86_64
MySQL56-client-5.6.14-1.cp1142.x86_64
MySQL56-server-5.6.14-1.cp1142.x86_64
cpanel-mysql-libs-5.0.96-1.cp1136.x86_64
cpanel-perl-514-MySQL-Diff-0.43-1.cp1136.x86_64
MySQL56-test-5.6.14-1.cp1142.x86_64
and it:
Warning: mysql_connect(): Headers and client library minor version mismatch. Headers:50534 Library:50614
I haven't idea for fix it... :(
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
The RPM output is normal. Feel free to open a support ticket so we can take a closer look at the error message you are receiving. You can post the ticket number here so we can update this thread with the outcome.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
To update, it was determined there were some customizations to the Apache configuration that were preventing EasyApache from completing. EasyApache was able to complete successfully after removing the customizations (Apache template files were immutable).

Thank you.