Title: MandM's Replies | WordPress.org

---

# MandM

  [  ](https://wordpress.org/support/users/mandm/)

 *   [Profile](https://wordpress.org/support/users/mandm/)
 *   [Topics Started](https://wordpress.org/support/users/mandm/topics/)
 *   [Replies Created](https://wordpress.org/support/users/mandm/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/mandm/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/mandm/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/mandm/engagements/)
 *   [Favorites](https://wordpress.org/support/users/mandm/favorites/)

 Search replies:

## Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)

 *   Forum: [Installing WordPress](https://wordpress.org/support/forum/installation/)
   
   In reply to: [Unable to connect to database](https://wordpress.org/support/topic/unable-to-connect-to-database/)
 *  Thread Starter [MandM](https://wordpress.org/support/users/mandm/)
 * (@mandm)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/unable-to-connect-to-database/#post-663389)
 * Sorry about that – I changed the database name from ‘w8u7uuje_blog’ to ‘w8u7uuje_wordpress’–
   the wp-config file is also updated with the last database name (‘w8u7uuje_wordpress’.
 * I also followed the description in the WP blog on how to define a MySQL database
   and user and giving the user full access to the database. Everything done in 
   the same sequence as decribed in the blog. It still doesn’t work.
 * My webhotel isn’t too helpfull either – they don’t reply on their help desk…
 *   Forum: [Installing WordPress](https://wordpress.org/support/forum/installation/)
   
   In reply to: [Unable to connect to database](https://wordpress.org/support/topic/unable-to-connect-to-database/)
 *  Thread Starter [MandM](https://wordpress.org/support/users/mandm/)
 * (@mandm)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/unable-to-connect-to-database/#post-663236)
 * Below is the entire error-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.
 * 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.
 * And here is the information from our hosting service wrt location of the MySQL
   database:
 * ‘
    $dbh=mysql_connect (“localhost”, “w8u7uuje_mari”, “<PASSWORD HERE>”) or die(‘
   I cannot connect to the database because: ‘ . mysql_error()); mysql_select_db(“
   w8u7uuje_wordpress”); ‘
 * We can also see the MySQL database using phpMyAdmin and create tables in it.
 * I can’t see what I have done wrong in the wp_config file?
 * marianne

Viewing 2 replies - 1 through 2 (of 2 total)