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!

server couldn't connect to mysql

Discussion in 'Database Discussion' started by wikionline, Mar 2, 2014.

  1. wikionline

    wikionline Registered

    Joined:
    Mar 2, 2014
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    hi all
    i have problem in my server all of my websites on server couldn't connect to mysql any body can help me what should i do ?
    so when i want install new script couldn't connect to database !
    please help me
    regards
     
  2. cPanelPeter

    cPanelPeter Technical Analyst III
    Staff Member

    Joined:
    Sep 23, 2013
    Messages:
    575
    Likes Received:
    20
    Trophy Points:
    143
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Please review the log file in /var/log/mysql/$HOSTNAME.err ($HOSTNAME is your hostname)
    And also review the error_log file in /usr/local/apache/logs

    These should tell you why you can not connect.
     
    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