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.

Unable to Connect to DB server

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

  1. zahiruddin

    zahiruddin Member

    Joined:
    Jan 5, 2009
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    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:
    6
    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,
     
Loading...

Share This Page