Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    May 2009
    Posts
    2

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

    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. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    10,723
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by goldenchild View Post
    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
    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. #3
    Registered User
    Join Date
    May 2009
    Posts
    2

    Default

    Quote Originally Posted by cPanelDavidG View Post
    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.
    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. #4
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    10,723
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by goldenchild View Post
    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
    Here's a link to step-by-step instructions for this:

    http://twiki.cpanel.net/twiki/bin/vi..._Database_User

Similar Threads & Tags
Similar threads

  1. changed IP of our site and now can't access old site
    By cosmicf in forum New User Questions
    Replies: 5
    Last Post: 12-29-2010, 09:30 AM
  2. Replies: 0
    Last Post: 12-03-2010, 03:05 PM
  3. Root Password Changed??? Did CPanel do this?
    By kthxbai2u in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 11-19-2010, 11:47 AM
  4. cPanel password reset emails. Here comes the problem
    By maysoft in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 06-06-2007, 11:50 PM
  5. Cpanel Password Change Problem
    By oshs in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-11-2006, 06:16 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube