• Hey Im having trouble getting wordpress installed can someone help me? I am using xampp. I installed xampp created a new database called wordpress then created a new user with the name wordpress and password wordpress. I unzipped the latest wordpress and put the folder into the htdocs folder. I then changed the wp-config.php file so that database username and password all are wordpress. But when i try to run http://localhost/wordpress/wp-admin/install.php i get an error

    “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.

    Are you sure you have the correct username and password?
    Are you sure that you have typed the correct hostname?
    Are you sure that the database server is running?
    If you’re unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.”

    can someone help me get past this? Thanks so much.

Viewing 1 replies (of 1 total)
  • created a new user with the name wordpress and password wordpress.

    You also must grant the user wordpress All Privileges

    Alternatively, and what I always do on local installs, is use the default database user credentials, which in the case of XAMPP is:

    User: root
    Password: <empty> … do not enter anything, not even a space

    Using Notepad (or equivalent plain text editor), change the two values in your wp-config.php and you will be good to go 🙂

    Note that if you do use the above, the entry for the password will be:

    /** MySQL database password */
    define('DB_PASSWORD', '');

    <<< note that there is NO SPACE between the single quotes.

Viewing 1 replies (of 1 total)

The topic ‘Help Installing’ is closed to new replies.