Title: Error establishing a database connection &#8211; Problem
Last modified: April 17, 2017

---

# Error establishing a database connection – Problem

 *  [shinjune2](https://wordpress.org/support/users/shinjune2/)
 * (@shinjune2)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/error-establishing-a-database-connection-problem-2/)
 * I am a very beginner of this world.
 * I launched my site a few months ago but it was down with message of ‘Error establishing
   a database connection’
 * How can I solve this problem? I am using AWS.
 * Some people said I have to access wp-config.php. file. But I don’t even know 
   how to do it.
 * Thank you for your kind explanation in advance.

Viewing 1 replies (of 1 total)

 *  [sinip](https://wordpress.org/support/users/sinip/)
 * (@sinip)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/error-establishing-a-database-connection-problem-2/#post-9036594)
 * Well, you can access `wp-config.php` using either some FTP program like Filezilla
   or directly from within your cPanel (or an equivalent in AWS). If you have no
   FTP or cPanel credentials you’ll have to contact your hosting provider. Once 
   there, you’ll have to compare the data (database username, name, prefix and password)
   with the database that was created for the installation and see if they match.
    -  This reply was modified 9 years, 1 month ago by [sinip](https://wordpress.org/support/users/sinip/).

Viewing 1 replies (of 1 total)

The topic ‘Error establishing a database connection – Problem’ is closed to new 
replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [sinip](https://wordpress.org/support/users/sinip/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/error-establishing-a-database-connection-problem-2/#post-9036594)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
