Title: the wp-config.php step
Last modified: August 19, 2016

---

# the wp-config.php step

 *  [rpavao](https://wordpress.org/support/users/rpavao/)
 * (@rpavao)
 * [18 years, 3 months ago](https://wordpress.org/support/topic/the-wp-configphp-step/)
 * I’m new to wordpress. In the wp-config.php file, I’ve put a database_name but
   I still haven’t created a database… I believe that is the reason the “Error establishing
   a database connection” occurs when running wp-admin/install.php. I created a 
   new username and password, but I believe that it is not the problem.
    How can
   I create a new database? Can you send me a database file example? Thanks Rodrigo

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

 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [18 years, 3 months ago](https://wordpress.org/support/topic/the-wp-configphp-step/#post-706555)
 * You need to do some urgent reading!
    Database is not a file, and you cannot put
   a “database name” if you didn’t create it before. How do you know its name if
   it doesn’t exist? It just doesn’t make sense… So, start reading the manual: [Getting_Started_with_WordPress](http://codex.wordpress.org/Getting_Started_with_WordPress)
 *  Thread Starter [rpavao](https://wordpress.org/support/users/rpavao/)
 * (@rpavao)
 * [18 years, 3 months ago](https://wordpress.org/support/topic/the-wp-configphp-step/#post-706561)
 * moshu, thanks for quickness to respond. I’ve read the Step 2: Create the Database
   and a User from [http://codex.wordpress.org/Installing_WordPress](http://codex.wordpress.org/Installing_WordPress)
   but it really doesn’t make sense for me…
    There is a simple way to explain how
   to create a new database? Thanks Rodrigo
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [18 years, 3 months ago](https://wordpress.org/support/topic/the-wp-configphp-step/#post-706562)
 * There is never a simple way, sorry. That’s the simplest as it is written in the
   Codex.
    This is not really a WP issue. It is some basic knowledge what do to 
   in your host’s administration panel. Ask them how to create a database at your
   host. Maybe they have some FAQ or tutorials.

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

The topic ‘the wp-config.php step’ is closed to new replies.

## Tags

 * [database](https://wordpress.org/support/topic-tag/database/)
 * [wp-config.php](https://wordpress.org/support/topic-tag/wp-config-php/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 3 replies
 * 2 participants
 * Last reply from: [moshu](https://wordpress.org/support/users/moshu/)
 * Last activity: [18 years, 3 months ago](https://wordpress.org/support/topic/the-wp-configphp-step/#post-706562)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
