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!

Unable to Connect to DB server

Discussion in 'Database Discussion' started by zahiruddin, Mar 9, 2009.

  1. zahiruddin

    zahiruddin Member

    Joined:
    Jan 5, 2009
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    51
    Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: NO) in /home/greaterl/public_html/config.inc.php on line 4
    Unable to Connect to DB server
     
  2. nilesh_kolte

    nilesh_kolte Well-Known Member

    Joined:
    Apr 13, 2006
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    156
    Location:
    Pune ,India
    cPanel Access Level:
    Root Administrator
    Hello,

    Check /home/greaterl/public_html/config.inc.php . you have to provide database name, db use and db pass in that config file so that your script will connect to the DB.

    Regards,
     
    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