Title: Install script error
Last modified: August 18, 2016

---

# Install script error

 *  [timtunbridge](https://wordpress.org/support/users/timtunbridge/)
 * (@timtunbridge)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/install-script-error/)
 * Hi
 * I am having difficulty getting WordPress to install against my new MySQL db.
 * The details of my MySQL db are as follows:
    Server Name: mysql244 Server IP Address:
   213.171.218.244 Database Name: digitalbritdiary Database Username: diaryadmin
   I have left out the passowrd line from the above.
 * The wp-config file is as follows:
    <?php // ** MySQL settings ** // define(‘DB_NAME’,‘
   digitalbritdiary’); // The name of the database define(‘DB_USER’, ‘diaryadmin’);//
   Your MySQL username define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need
   to change this value … Again, I have left out the password line from the above.
 * When I run [http://www.digitalbrit.com/diary/wp-admin/install.php](http://www.digitalbrit.com/diary/wp-admin/install.php),
   I get:
 * **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?
 * I have quized by host provider (Fasthosts in the UK) but no news yet. I’m asking
   is the database server up, is the localhost correct?. I’m also asking them to
   validate that my databse was set up correctly (I don’t know how to test this 
   myself).
 * Any other clues as to what to look for. Would I need to mention the server name
   or IP address in the wp-config file?
 * Thanks in advance.
    Tim

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

 *  [Chris_K](https://wordpress.org/support/users/handysolo/)
 * (@handysolo)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/install-script-error/#post-405950)
 * Do you have access to phpMyAdmin or Cpanel? Check step 2 of the [Detailed Installation Instructions](http://codex.wordpress.org/Installing_WordPress#Detailed_Instructions)
   to make sure the user is there and has the proper permissions.
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/install-script-error/#post-405951)
 * Probably you should replace “localhost” with “mysql244”
 *  Thread Starter [timtunbridge](https://wordpress.org/support/users/timtunbridge/)
 * (@timtunbridge)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/install-script-error/#post-406104)
 * Yes it was the local host reference.
 * Why do I always end up being the 1% !?!?!
 * Thanks for the advise.

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

The topic ‘Install script error’ is closed to new replies.

## Tags

 * [installation](https://wordpress.org/support/topic-tag/installation/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 3 replies
 * 3 participants
 * Last reply from: [timtunbridge](https://wordpress.org/support/users/timtunbridge/)
 * Last activity: [19 years, 11 months ago](https://wordpress.org/support/topic/install-script-error/#post-406104)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
