Title: Error database
Last modified: August 30, 2016

---

# Error database

 *  Resolved [JoshuadeJonge](https://wordpress.org/support/users/joshuadejonge/)
 * (@joshuadejonge)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/error-database-5/)
 * Evening,
 * -I installed MMAP.
    -I created a database called ‘WP’. -I change the database
   name, username and password in wp-config-sample.php content . -When i acces [http://localhost](http://localhost)
   i can fil in the form with database-name, username and password. on the next 
   step I get a error which says it can’t connect to the database. is the username
   correct, is the password correct, are you sure the server works.
 * I checked the username and password several times. That’s not the problem.
    What
   can i do to fix it?

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

 *  [LyleChamney](https://wordpress.org/support/users/lylechamney/)
 * (@lylechamney)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/error-database-5/#post-6205121)
 * A few things.
 * – I take it you meant to say you installed MAMP?
    – if you did not rename wp-
   config-sample.php to wp-config.php after making the changes, that is why you 
   are able to access the “form” for the database.
 * The info you need there, if you are using MAMP, is:
 * Database Name: WP
    Database User: root <this is the MAMP default database user
   > Password: root <this is the MAMP default database user password> Host Name:
   localhost Table Prefix: wp_ <leave as-is>
 *  Thread Starter [JoshuadeJonge](https://wordpress.org/support/users/joshuadejonge/)
 * (@joshuadejonge)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/error-database-5/#post-6205122)
 * Lyle,
 * I won’t say i love you…but it’s getting close!
 * Thanks!

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

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [JoshuadeJonge](https://wordpress.org/support/users/joshuadejonge/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/error-database-5/#post-6205122)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
