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!

Database Error when launching webpage

Discussion in 'Database Discussion' started by Dmmedeiros, Feb 19, 2018.

  1. Dmmedeiros

    Dmmedeiros Registered

    Joined:
    Feb 19, 2018
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Ri
    cPanel Access Level:
    Root Administrator
    Good Evening,

    I am currently assisting someone with an error when they browse to their website

    Photo is attached. Any assistance would be greatly appreciated. The site has been down for quite sometime so any guidance on how to resolve issue would be greatly appreciated.

    Thank you,

    Dave
     

    Attached Files:

  2. Eminds

    Eminds Well-Known Member

    Joined:
    Nov 10, 2016
    Messages:
    267
    Likes Received:
    20
    Trophy Points:
    18
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Check if the mysql service is running , make sure the database credentials ( username , database name , password and host ) are correct , check the logs at /var/lib/mysql error log file for further investigation.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    cPanelMichael likes this.
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,749
    Likes Received:
    1,885
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    The information in the previous post is a good place to start. Generally, if MySQL is running well, that type of issue stems from the use of invalid credentials in the script's database configuration file.

    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