Title: install.php cannot connect to database
Last modified: August 18, 2016

---

# install.php cannot connect to database

 *  [itlearner](https://wordpress.org/support/users/itlearner/)
 * (@itlearner)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/installphp-cannot-connect-to-database/)
 * Hi! My company’s website is hosted by a hosting service. I first called and the
   hosting service told me they’ve set up a MySQL database. PHP 4.3 is installed.
   I confirmed all the MySQL information with them 3 times. Then I uploaded all 
   the WordPress files to [http://www.mycompanydomain.org/blog/](http://www.mycompanydomain.org/blog/)
 * When I clicked on [http://www.mycompanydomain.org/blog/wp-admin/install.php](http://www.mycompanydomain.org/blog/wp-admin/install.php),
   I see the following 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 localhost. This could mean your host’s database
   server is down.
 * Are you sure you have the correct username and password?
    Are you sure that you
   have typed the correct hostname? Are you sure that the database server is running?
   If you’re unsure what these terms mean you should probably contact your host.
   If you still need help you can always visit the WordPress Support Forums.
 * —–
 * I called back the hosting company and explained what happened. All they said 
   was that PHPadmin is disabled on the server, and I have to hard-code everything
   manually.
 * Does that mean I have all the correct MySQL database information but install.
   php simply won’t run on the Internet Explorer broswer? Or does the hosting company
   not understand the situation and there is something wrong with the MySQL database
   setting?
 * Thank you for reading my question.

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

 *  [mrkingid](https://wordpress.org/support/users/mrkingid/)
 * (@mrkingid)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/installphp-cannot-connect-to-database/#post-610931)
 * double check your username, password and servername
 *  Thread Starter [itlearner](https://wordpress.org/support/users/itlearner/)
 * (@itlearner)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/installphp-cannot-connect-to-database/#post-610933)
 * Thank you mrkingid. My hosting company changed the FTP password last October 
   and told me the password for the MySQL database passowrd should be the new FTP
   password. I typed in the new password and got the above connection error. However
   when I changed the MySQL password to the old FTP password, the install.php actually
   worked partially.
 * I can see the intro message and a link to “First Step”. However I also received
   the following error message:
 * —
 * PHP Warning: is_readable() [function.is-readable]: Unable to access e:\webppliance\
   conf\domains\domainname\Inetpub\wwwroot\blog/wp-includes/languages/en_US.mo in
   e:\webppliance\conf\domains\domainname\Inetpub\wwwroot\blog\wp-includes\l10n.
   php on line 69 PHP Warning: is_readable() [function.is-readable]: Unable to access
   e:\webppliance\conf\domains\domainname\Inetpub\wwwroot\blog/wp-includes/languages/.
   php in e:\webppliance\conf\domains\domainname\Inetpub\wwwroot\blog\wp-settings.
   php on line 243 PHP Warning: Cannot modify header information – headers already
   sent in e:\webppliance\conf\domains\domainname\Inetpub\wwwroot\blog\wp-admin\
   install.php on line 15
    —
 * Is it safe to start clicking on step 1 and set up? Or should I try to make the
   errors go away first?

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

The topic ‘install.php cannot connect to database’ is closed to new replies.

## Tags

 * [connection error](https://wordpress.org/support/topic-tag/connection-error/)
 * [install.php](https://wordpress.org/support/topic-tag/install-php/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 2 replies
 * 2 participants
 * Last reply from: [itlearner](https://wordpress.org/support/users/itlearner/)
 * Last activity: [18 years, 8 months ago](https://wordpress.org/support/topic/installphp-cannot-connect-to-database/#post-610933)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
