Title: wp_config.php DB config problems
Last modified: August 19, 2016

---

# wp_config.php DB config problems

 *  [EmilySmith](https://wordpress.org/support/users/emilysmith/)
 * (@emilysmith)
 * [18 years, 4 months ago](https://wordpress.org/support/topic/wp_configphp-db-config-problems/)
 * during installation of wordpress….i need to add the appropriate configurations
   to the file wp_config.php and upload it. Here are the parameters I need to fill:
   //**
   MySQL settings ** // define(‘DB_NAME’, ‘joelcg’); // The name of the database
   define(‘DB_USER’, ‘joelcg’); // Your MySQL username define(‘DB_PASSWORD’, ‘password’);//…
   and password define(‘DB_HOST’, ‘lerablog.org/cutcher-gershenfeld/wordpress’);//
   99% chance you won’t need to change this value define(‘DB_CHARSET’, ‘utf8’); 
   define(‘DB_COLLATE’, ”);
 * Basically, DB Name, DB User, DB Password, DB Host… I have tried every possible
   combination of the information I have available to me on the DB I have created
   for this sub-domain, and nothing works… Can anyone out there cut and paste their
   code for me to compare with?
 * And, if anyone needs to know…Here is the information I am working with on the
   DB:
    Descriptor: wp for cutcher-gershenfeld MySQL DB/Username (That’s how it’s
   written in GoDaddy): joelcg, and Password: Password it is located (I think??)
   at [http://www.lerablog.org/cutcher-gershenfeld/wordpress](http://www.lerablog.org/cutcher-gershenfeld/wordpress)
 * It would SO be helpful if these programmers would use the same words for the 
   same things…but I guess it must be more complicated that that.
 * Thanks to anyone out there willing to help a struggling, over-worked, and under-
   paid, at-wits-end not-for-profit employee.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [supert3d](https://wordpress.org/support/users/supert3d/)
 * (@supert3d)
 * [18 years, 4 months ago](https://wordpress.org/support/topic/wp_configphp-db-config-problems/#post-678825)
 * You need to change your DB_HOST entry. It’s the hostname of your database, not
   the website.
 * With GoDaddy it’s something like :
 * ‘mysqlXXX.secureserver.net’ with XXX being unique to your GoDaddy account.
 * Login to your GoDaddy account and check in the Control Panel Settings > PHPMyAdmin
   for your database hostname.
 * Also, if your running the latest version of WordPress (2.3.2) Check your hosting
   supports PHP5.
 * The wp-db.php file uses the ___construct and ___destruct methods which are PHP5
   only.
 *  [growingthumbs](https://wordpress.org/support/users/growingthumbs/)
 * (@growingthumbs)
 * [18 years, 4 months ago](https://wordpress.org/support/topic/wp_configphp-db-config-problems/#post-678826)
 * Sounds like that will fix the problem. On most hosts you don’t have to change
   the last field.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘wp_config.php DB config problems’ is closed to new replies.

## Tags

 * [configure](https://wordpress.org/support/topic-tag/configure/)
 * [database](https://wordpress.org/support/topic-tag/database/)
 * [db](https://wordpress.org/support/topic-tag/db/)
 * [installation](https://wordpress.org/support/topic-tag/installation/)
 * [wp-config.php](https://wordpress.org/support/topic-tag/wp-config-php/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 2 replies
 * 3 participants
 * Last reply from: [growingthumbs](https://wordpress.org/support/users/growingthumbs/)
 * Last activity: [18 years, 4 months ago](https://wordpress.org/support/topic/wp_configphp-db-config-problems/#post-678826)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
