WordPress.org

Ready to get started?Download WordPress

Forums

Can't install WordPress on USB drive. (2 posts)

  1. geraldisaacs
    Member
    Posted 7 years ago #

    I have attempted to install wordpress on my USB drive
    by following the instructions at
    http://www.tamba2.org.uk/wordpress/usb/

    but when I click on 'install WordPress',
    I get this message (my internet explorer url shows http://localhost/wordpress):

    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.

    My WOS window shows:

    Apache is running.
    MySQL is running

    my wp-config.php file shows:

    define('DB_NAME', 'wordpress'); // The name of the database
    define('DB_USER', ''); // Your MySQL username
    define('DB_PASSWORD', ''); // ...and password
    define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value

    my httpd.conf file shows:

    LoadModule rewrite_module modules/mod_rewrite.so

    Can anybody give me a clue that might lead to a successful outcome?

  2. jetshack
    Member
    Posted 7 years ago #

    change your db user name to root

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags