• Resolved oznola

    (@oznola)


    hi,

    i am trying to install wordpress following the directions here http://codex.wordpress.org/Installing_WordPress#Step_5:_Run_the_Install_Script i am following the wordpress codex instructions (download, unzip, ect…).

    but i get the following error message when i try to load http://localhost/wordpress/wp-admin/install.php…

    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.

    the install is in on ubuntu 9.10 in /var/www/wordpress. i have not been asked for username or password yet. i think the install script is where username and password are set. it is installed on localhost. i am not sure the database is running but phpmyadmin created the new user “wordpress” and granted it privileges okay.

    perhaps i have to change something in wp-config.php?

    please advise.

Viewing 1 replies (of 1 total)
  • Checklist!

    1. Is the mysql daemon running?
    2. Open file ‘wp-config.php’ in the root directory and verify:
    – Database Host: ‘localhost’
    – Database Name: ‘wordpress’
    – Mysql User: ‘root’ //Considering you are using wp for testing purposes.
    – Mysql Password: ‘*****’ //Your mysql root password.

Viewing 1 replies (of 1 total)
  • The topic ‘Error establishing a database connection’ is closed to new replies.