WordPress.org

Ready to get started?Download WordPress

Forums

Local host Database problem (3 posts)

  1. aaronoafc
    Member
    Posted 1 year ago #

    First of all, im a windows user.

    I'm using WAMP server to localhost and have just created a mysql database called "wet" using PHPMYADMIN.

    So then I have gone into the (www) directory on my c drive and created a folder called "wet".

    when I go to the URL: http://localhost/wet/ it brings up an empty index directory which is fine, I expected that.

    However when I put the wordpress folder into the wet directory (with the www folder inside WAMP on my c drive) I try to go to:

    http://localhost/wet/wordpress/wp-admin/install.php

    I then try and create a config file, in which it asks for the database name, so I put in "wet" and it doesn't accept it! I get an error saying:

    error establishing data connection.

    This is strange as I don't yet have a wp-config file..so no settings wrong in there. My WAMP server is perfectly fine as my other local site loads okay...im just trying username and password as "root"...

    Any ideas?

  2. vinay_nihal
    Member
    Posted 1 year ago #

    I was also getting same error, I tried the following.
    make username = root
    and leave password = '';

    check this link for more reference http://www.scriptol.com/wordpress/installing-wordpress-locally.php

  3. aaronoafc
    Member
    Posted 1 year ago #

    I was also getting same error, I tried the following.
    make username = root
    and leave password = '';

    check this link for more reference http://www.scriptol.com/wordpress/installing-wordpress-locally.php

    Cheers mate that worked! What username and password is that for though? I mean the next stage asks you to create a username and password for the wordpress dashboard...what part of the site is the username root password: blank ????

    Cheers
    Aaron

Topic Closed

This topic has been closed to new replies.

About this Topic