function.mysql-connect: Headers and client library minor version mismatch. Headers: Library

sreeninair

Well-Known Member
Dec 23, 2013
100
0
16
cPanel Access Level
Root Administrator
Hello Guys,

Iam getting the following error in my zencart installation.

--------
Warning: mysql_connect() [function.mysql-connect]: Headers and client library minor version mismatch. Headers:50173 Library:50096 in /home/thebling/public_html/includes/m1_common_functions.php on line 0


--------------

# rpm -qa|grep -i mysql
MySQL51-devel-5.1.73-1.cp1136.x86_64
MySQL51-server-5.1.73-1.cp1136.x86_64
cpanel-mysql-libs-5.0.96-1.cp1136.x86_64
cpanel-perl-514-DBD-mysql-4.024-1.cp1136.x86_64
MySQL51-shared-5.1.73-1.cp1136.x86_64
MySQL51-client-5.1.73-1.cp1136.x86_64
MySQL51-test-5.1.73-1.cp1136.x86_64
cpanel-perl-514-MySQL-Diff-0.43-1.cp1136.x86_64
cpanel-mysql-5.0.96-1.cp1136.x86_64
------------
[email protected] [/usr/lib64]# mysql -V
mysql Ver 14.14 Distrib 5.1.73, for unknown-linux-gnu (x86_64) using readline 5.1
[email protected] [/usr/lib64]#

----------


I have upgraded mysql to same version(5.1) from whm . ran upcp. Still getting the same error. Please help

Thanks
Sreeni
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Hello :)

What method did you use to upgrade MySQL? Ensure that EasyApache runs after updating it if the version changed.

Thank you.
 

sreeninair

Well-Known Member
Dec 23, 2013
100
0
16
cPanel Access Level
Root Administrator
Hello Guys,

Thanks for the support.

The issue was fixed after disabling and re-enabling mysql and mysqli with easyapache.

Thanks
Sreeni
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
I am happy to see the issue was addressed. Thank you for updating us with the outcome.