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.

server couldn't connect to mysql

Discussion in 'Database Discussions' 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:
    569
    Likes Received:
    15
    Trophy Points:
    18
    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.
     
Loading...

Share This Page