• Resolved purpaula

    (@purpaula)


    Greetings, I think I’ve setup everything correctly however, I get this messege:

    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 DB_HOST. This could mean your host’s database server is down.

    Are you sure you have the correct username and password? YES
    Are you sure that you have typed the correct hostname? YES
    Are you sure that the database server is running? I THINK SO

    I setup the MySQL database and have all the required information. Below is my wp-config.php file:
    <?php
    // ** MySQL settings ** //
    define(‘myblog’, ‘wordpress’); // The name of the database
    define(‘myusername’, ‘username’); // Your MySQL username
    define(‘mypassword’, ‘password’); // …and password
    define(‘myserver’, ‘localhost’); // 99% chance you won’t need to change this value – it’s not local host and I have defined the server

    Any help would be appreciated.

Viewing 7 replies - 16 through 22 (of 22 total)
  • Thread Starter purpaula

    (@purpaula)

    vkaryl, checked the post… I have all the correct information from crystaltech (i think).
    I may trying to delete the db and account info and creating another one.

    Thread Starter purpaula

    (@purpaula)

    GOT IT WORKING – Thanks to you folks!

    Thanks so much for your quick reply and assistance.

    Well done on your perseverance, Purpaula. ??

    GREAT! Was it simply reinstalling etc, or did you tweak something else? (Report, so the next poor soul will find your post – we hope – and get the help….)

    Quick, vkaryl, stick some keywords in here. You’re better at this than I am. ??

    Tags, y’mean? Okay, I’ll do some.

    Thread Starter purpaula

    (@purpaula)

    Basically the wp-config.php file was incorrect as neon stated. I made the necessary changes and it seemed to correct the issue. Thanks!

Viewing 7 replies - 16 through 22 (of 22 total)
  • The topic ‘Error establishing a database connection’ is closed to new replies.