Title: Error establishing database network
Last modified: August 24, 2016

---

# Error establishing database network

 *  [A Little Londoner](https://wordpress.org/support/users/a-little-londoner/)
 * (@a-little-londoner)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/error-establishing-database-network/)
 * Hi everyone, I’m having serious issues with my blog/website. I keep getting “
   Error in Establishing A Data Connection” or else the following;
 * 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 mysql5.webhost.ie. 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.
 * Can anyone give me a step by step instructions how to fix this?
 * Thank you
    Triona

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

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/error-establishing-database-network/#post-6053198)
 * So, in your wp-config.php file, 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?
 *  Thread Starter [A Little Londoner](https://wordpress.org/support/users/a-little-londoner/)
 * (@a-little-londoner)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/error-establishing-database-network/#post-6053358)
 * Hi, I can’t even open the site page now. When I go to wordpress dashboard it 
   says data not available. Could anyone tell me what the problem is?
 * Thanks
    Triona
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/error-establishing-database-network/#post-6053363)
 * You need to address those three questions first, they have been telling you what
   the problem might be since 5 days ago.
 * Access your server via [FTP or SFTP](https://codex.wordpress.org/FTP_Clients)
   and open your `wp-config.php` file with a [plain text editor](https://codex.wordpress.org/Editing_Files#Text_Editors).
 * 1. Does it contain the correct database username and password?
 * 2. If yes, does it contain the correct database hostname?
 * 3. If yes, contact your hosting provider and ask them why your database server
   is offline.

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

The topic ‘Error establishing database network’ is closed to new replies.

## Tags

 * [Database Error](https://wordpress.org/support/topic-tag/database-error/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [James Huff](https://wordpress.org/support/users/macmanx/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/error-establishing-database-network/#post-6053363)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
