Title: Error accessing the database connection
Last modified: August 19, 2016

---

# Error accessing the database connection

 *  [senthilramesh](https://wordpress.org/support/users/senthilramesh/)
 * (@senthilramesh)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/error-accessing-the-database-connection/)
 * Hi all
 * I would like to install wordpress locally in m windows. I installed Wamp and 
   extracted the latest wordpress to ‘www’ folder. Created database named wordpress
   in phpmyadmin. Configured the wp-config-sample file as follows:
 * Changed the user_db parameter as wordpress
 * user_name parameter as root
 * user_pw parameter as root.
 * Saved this fiile as wp-config.php
 * now when I tried to access [http://localhost/wordpress/wp-admin/install.php](http://localhost/wordpress/wp-admin/install.php)
   it shows error as
 * “Error accessing the database connection’.
 * Please help!!!!

Viewing 1 replies (of 1 total)

 *  [Samuel B](https://wordpress.org/support/users/samboll/)
 * (@samboll)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/error-accessing-the-database-connection/#post-1223506)
 * honestly I always struggled with wamp
    now I use this exclusively [http://www.tamba2.org.uk/wordpress/xampp/](http://www.tamba2.org.uk/wordpress/xampp/)

Viewing 1 replies (of 1 total)

The topic ‘Error accessing the database connection’ is closed to new replies.

## Tags

 * [database connection](https://wordpress.org/support/topic-tag/database-connection/)
 * [phpmyadmin](https://wordpress.org/support/topic-tag/phpmyadmin/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Samuel B](https://wordpress.org/support/users/samboll/)
 * Last activity: [16 years, 8 months ago](https://wordpress.org/support/topic/error-accessing-the-database-connection/#post-1223506)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
