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.

is this a cpanel problem? changed cpanel password, site down.

Discussion in 'Database Discussions' started by goldenchild, May 5, 2009.

  1. goldenchild

    goldenchild Registered

    Joined:
    May 5, 2009
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    hi everyone:

    i just want to know if this is a cpanel problem, or if i screwed up elsewhere.

    last night i decided to change my cpanel password. after wards, i was fiddling around on FTP to test a new page i wanted to add. at first things were fine, but all of a sudden, i got this database error message when i refreshed my site on my browser. after a little while, the error message disappeared, and now my site is just a blank page.

    please help

    thanks

    Goldenchild
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    If you use your cPanel username and password for database connections rather than using a MySQL user and password, then changing your cPanel password will break your site until you update your website's configuration to use the new password.

    I recommend you instead use a MySQL user and assign that user a password other than your cPanel password. Storing your cPanel password in plain text (e.g. a PHP script's configuration file) on a web server is bad practice and could theoretically lead to a security breach of your account.

    You can create a MySQL user by going to your cPanel interface and under Databases click on "MySQL Databases" and on the screen that appears you can create a MySQL user. Don't forget to assign that user permissions to use the database(s) you want it to use.
     
  3. goldenchild

    goldenchild Registered

    Joined:
    May 5, 2009
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Hi DaveG:

    how do i go about doing what you recommended? im pretty new to all this, is there a step by step instruction somehwere?

    thanks
     
  4. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page