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!

PHP & mySQL will not work... Help please.

Discussion in 'Database Discussion' started by jackChessire, Dec 27, 2008.

  1. jackChessire

    jackChessire Registered

    Joined:
    Dec 27, 2008
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    51
    All right...
    The situation is that I'm curently hosted on a surver. I have created my own database, as well as user name for it.

    Under my File Manager on CPanel, I placed a config.php file with localhost as the host name (I suppose this is the way to do it?), and my user information... I'm unsure (And don't think that) I have a password.

    I tried running it, and I keep getting the error "Access denied for user". Could this mean that the username is wrong or that the file is int he wrong spot?
     
  2. jackChessire

    jackChessire Registered

    Joined:
    Dec 27, 2008
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    51
    Sorry.. problem solved. Stupid password field..
     
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