• Resolved JoshuadeJonge

    (@joshuadejonge)


    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 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)
  • 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

    (@joshuadejonge)

    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.