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!

Warning: mysql_connect():

Discussion in 'Database Discussion' started by Muh'd Sany, Dec 23, 2015.

  1. Muh'd Sany

    Muh'd Sany Registered

    Joined:
    Dec 23, 2015
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Nigeria
    cPanel Access Level:
    Website Owner
    Hi friends!
    My name is Muh'd Sany, am new to web design.
    I need your help on this Warning message please! because I dont know how to fix it. Thanks a lot.
    Warning: mysql_connect(): Headers and client library minor version mismatch. Headers:50546 Library:50627 in /home/lasohgs/public_html/db_login.php on line 7
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,367
    Likes Received:
    1,856
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    Your access level is listed as "Website Owner". This suggests you do not have root access, which is required to address this issue through the use of EasyApache. Could you verify if you have root access, and if not, report the issue to your hosting provider?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Muh'd Sany

    Muh'd Sany Registered

    Joined:
    Dec 23, 2015
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Nigeria
    cPanel Access Level:
    Website Owner
    Am happy you respond to m.
    Yes I have a root access, please help!
     
  4. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,834
    Likes Received:
    85
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hello,

    If you have root access than I will suggest you please try to recompile php on your server through easyapache scripts,

    You can recompile php through WHM >> Software >> EasyApache3

    And through SSH, Try with the following command

    Code:
    /scripts/easyapache
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,367
    Likes Received:
    1,856
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Yes, as mentioned, could you verify if the issue persists after rebuilding PHP through EasyApache?

    Thank you.
     
    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