Title: Installation Problem/Wrong Database
Last modified: August 22, 2016

---

# Installation Problem/Wrong Database

 *  [Dutch_Autumn](https://wordpress.org/support/users/dutch_autumn/)
 * (@dutch_autumn)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/installation-problemwrong-database/)
 * First of all, be kind with me, I’m a newbie.
 * When installing a WordPress 4.0 on my host, I crated a new database first, but
   when I try to do an install, I get this message;
 * Error establishing a database connection
 * This either means that the username and password information in your wp-config.
   php file is incorrect or we can’t contact the database server at 50.62.209.17:
   3306
 * The database I created is at; 184.168.194.58
 * How do I change that?
 * Because I use GoDaddy, I set the wp-config.php to;
 * define(‘DB_HOST’, ‘184.168.194.58’);

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

 *  [CMSHelpLive](https://wordpress.org/support/users/cmshelplivecom/)
 * (@cmshelplivecom)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/installation-problemwrong-database/#post-5475980)
 * Hi,
 * It might be due to your mismatched database name in wp-config.php file and database
   created in phpmyadmin
 *  [LyleChamney](https://wordpress.org/support/users/lylechamney/)
 * (@lylechamney)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/installation-problemwrong-database/#post-5475981)
 * > Because I use GoDaddy
 * If you have a Linux with cPanel hosting account at GD, then you are “trying too
   hard” 🙂
 * When you created your database first, you would have had to give it a name (hopefully
   with no spaces in it), a password of your choosing, and then assign a user to
   this database and grant all privileges. The host name is localhost; do NOT enter
   the IP.
 * These are the values you use when either editing the wp-config.php file or if
   you used the Create a Configuration File button during the install process.
 *  [Gadgetroid](https://wordpress.org/support/users/gadgetrophy/)
 * (@gadgetrophy)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/installation-problemwrong-database/#post-5476144)
 * Remove or edit your ip address and replace it with xxx.xxx.xxx.xx. At the moment
   you are revealing your real ip and the configuration profile of your wordpress
   installation. Try and give the bad guys more questions to answer.
 * As for “The database I created is at; xxx.xxx.xxx.xx How do I change that?” –
   you will need to access your wordpress files and look for a file called wp-config.
   php and make changes there. Do you have one click installation on hosting account?.
 *  [ict 2conserve](https://wordpress.org/support/users/ict-2conserve/)
 * (@ict-2conserve)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/installation-problemwrong-database/#post-5476150)
 * Hello
 * I am also facing somewhat similar issue. I tried to install WordPress on the 
   subdomain ict.2conserve.com. It’s not working and the following error results:
 * “500 – Internal server error.
    There is a problem with the resource you are looking
   for, and it cannot be displayed.”
 * However, just as a try i installed WordPress on the main domain 2conserve.com/
   wordpress/ and surprisingly, it is working.
 * I wonder if anybody would mind helping me with such issue. I am using Godaddy’s
   Window hosting package by the way.
 * Thanks for consideration.
 *  [Gadgetroid](https://wordpress.org/support/users/gadgetrophy/)
 * (@gadgetrophy)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/installation-problemwrong-database/#post-5476164)
 * @ ict 2conserve – I can see you solved it 🙂 – happy blogging

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

The topic ‘Installation Problem/Wrong Database’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 5 replies
 * 5 participants
 * Last reply from: [Gadgetroid](https://wordpress.org/support/users/gadgetrophy/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/installation-problemwrong-database/#post-5476164)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
