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.

PHP can no longer access MySQL.

Discussion in 'Database Discussions' started by cvladybucks, Mar 5, 2009.

  1. cvladybucks

    cvladybucks Registered

    Joined:
    Mar 5, 2009
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    In the web host manager, I went to "Sql" and added an additional "access host." I put in localhost and then hit "click here" to activate it. It listed a few user accounts and appeared to work.

    Now the database doesn't work at cvladybucks.com

    I don't understand how that could have ruined it.

    The motivation for changing the setting in the first place is because I had trouble doing a mysql connect when editing the website and figured it was a permission setting. But after changing that, even parts of the website that used to work didn't.
     
    #1 cvladybucks, Mar 5, 2009
    Last edited by a moderator: Mar 5, 2009
  2. AlexandreVeezon

    AlexandreVeezon Well-Known Member

    Joined:
    Dec 9, 2005
    Messages:
    99
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    /br/sc/rionegrinho
    cPanel Access Level:
    Root Administrator
    Can you put here the error?
    Already tried to create a new mysql user and reconfigure your php connection?
    Just php cannot access the MySQL?
     
Loading...

Share This Page