[resolved] info no correct in config file...but it is! (3 posts)

  1. OllieO
    Posted 8 years ago #

    I've put WP on my computer with Xammp etc. When I do the last step of typing in http://localhost/wordpress/wp-admin/install.php in my browser I get this message:

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

    What should I do? The username and password are as per instructions in http://www.tamba2.org.uk/wordpress/xampp/

    Help is greatly appreciated.


  2. MichaelH
    Posted 8 years ago #

    So your MySQL database server is running? Can you use phpMyAdmin to access your database? The password is left blank in most cases on xampp systems. Here's my password line from wp-config.php

    define('DB_PASSWORD', ''); // ...and password

  3. OllieO
    Posted 8 years ago #

    Excellent - it worked!

Topic Closed

This topic has been closed to new replies.

About this Topic