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.

Warning: mysql_connect():

Discussion in 'Database Discussions' 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:
    36,995
    Likes Received:
    1,275
    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.
     
  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,393
    Likes Received:
    52
    Trophy Points:
    28
    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
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    36,995
    Likes Received:
    1,275
    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.
     
Loading...

Share This Page