MySQL-libs is old
Hello!
I installed MySQL 5.6, but my mysql-libs is so old.
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?
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?
-
Hello :) [QUOTE]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. [QUOTE]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.0 -
[quote="cPanelMichael, post: 1554491">Hello :) What method did you use to upgrade MySQL? Did EasyApache run after the upgrade? Thank you.
Thank you for answer. I used script `check_cpanel_rpms` for upgrade it, because EasyApache ended with an error. How I can fix current problem?0 -
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. 0 -
[quote="cPanelMichael, post: 1555402">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 [QUOTE] Did EasyApache run after the upgrade?
I running it after the upgrade MySQL. No errors.0 -
[quote="nyanhost, post: 1556341">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.0 -
[quote="cPanelMichael, post: 1556351">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. [QUOTE]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: root@xxx [~]# rpm -qa|grep -i mysql [QUOTE] 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: [QUOTE]Warning: mysql_connect(): Headers and client library minor version mismatch. Headers:50534 Library:50614
I haven't idea for fix it... :(0 -
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. 0 -
Output phpinfo(); Client API library version 5.6.14 Client API header version 5.5.34 Support Request Id 4493443 Thank you. 0 -
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. 0
Please sign in to leave a comment.
Comments
9 comments