Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    143
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,261
    Likes Received:
    390
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Is your zencart up to date?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,961
    Likes Received:
    1,821
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

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

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  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:
    43,961
    Likes Received:
    1,821
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    I am happy to see the issue was addressed. Thank you for updating us with the outcome.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice