The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Discussion in 'General Discussion' started by sreeninair, Aug 6, 2014.

  1. sreeninair

    sreeninair Well-Known Member

    Joined:
    Dec 23, 2013
    Messages:
    100
    Likes Received:
    0
    Trophy Points:
    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
    ------------
    root@vps [/usr/lib64]# mysql -V
    mysql Ver 14.14 Distrib 5.1.73, for unknown-linux-gnu (x86_64) using readline 5.1
    root@vps [/usr/lib64]#

    ----------


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

    Thanks
    Sreeni
     
  2. triantech

    triantech Well-Known Member

    Joined:
    Jul 1, 2014
    Messages:
    145
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Kochi, India, India
    cPanel Access Level:
    Root Administrator
    Hello :)

    Did you re-compile PHP/Apache once that was done ? Re-compile using EasyApache and see if it helps
     
  3. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,453
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Is your zencart up to date?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  5. sreeninair

    sreeninair Well-Known Member

    Joined:
    Dec 23, 2013
    Messages:
    100
    Likes Received:
    0
    Trophy Points:
    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
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page