Title: WordPress can run using wampserver?
Last modified: August 20, 2016

---

# WordPress can run using wampserver?

 *  [morthea](https://wordpress.org/support/users/morthea/)
 * (@morthea)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/wordpress-can-run-using-wampserver/)
 * Im an IT student and i just want to explore different content management stuff,
 * I just want to explore wordpress, unfortunately i can’t install it, im just using
   wampserver. and i heard u guys need to have domain?
 * am i asking can i run this locally?HOW?

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

 *  [Mark Ratledge](https://wordpress.org/support/users/songdogtech/)
 * (@songdogtech)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/wordpress-can-run-using-wampserver/#post-3325205)
 * Read [http://codex.wordpress.org/Installing_WordPress#Installing_WordPress_on_your_own_Computer](http://codex.wordpress.org/Installing_WordPress#Installing_WordPress_on_your_own_Computer)
 *  Thread Starter [morthea](https://wordpress.org/support/users/morthea/)
 * (@morthea)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/wordpress-can-run-using-wampserver/#post-3325245)
 * Thank you sir.
 * Im finished with the steps, and when i visit [http://localhost/wordpress](http://localhost/wordpress)
   it says
 * **Error in establishing database connection**
 * i did made a database using phpmyadmin..
    why i am still seeing this?:(
 *  [Tahir Taous](https://wordpress.org/support/users/tahirtaous/)
 * (@tahirtaous)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/wordpress-can-run-using-wampserver/#post-3325247)
 * You need to add database name user name & password details in wp-config.php file.
   
   open wordpress directory and find wp-cofig-sample.php file and rename it to wo-
   config.php. After renaming open this file & find following line
 *     ```
       /** The name of the database for WordPress */
       define('DB_NAME', 'database_name_here');
   
       /** MySQL database username */
       define('DB_USER', 'username_here');
   
       /** MySQL database password */
       define('DB_PASSWORD', 'password_here');
   
       /** MySQL hostname */
       define('DB_HOST', 'localhost');
       ```
   
 * replace database_name_here with your data base name. for wamp user name is root
   and password is blank. after adding database name above lines will be like following.
 *     ```
       /** The name of the database for WordPress */
       define('DB_NAME', 'wordpress');
   
       /** MySQL database username */
       define('DB_USER', 'root');
   
       /** MySQL database password */
       define('DB_PASSWORD', '');
   
       /** MySQL hostname */
       define('DB_HOST', 'localhost');
       ```
   
 * now save wp-config.php file and visit localhost/wordpress to complete WordPress
   installation.
 * or you can read step by step instruction at [http://wordpressinurdu.com/2013/01/how-to-install-wordpress-locally-on-windows-pc-using-wamp-server/](http://wordpressinurdu.com/2013/01/how-to-install-wordpress-locally-on-windows-pc-using-wamp-server/)
 *  Thread Starter [morthea](https://wordpress.org/support/users/morthea/)
 * (@morthea)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/wordpress-can-run-using-wampserver/#post-3325252)
 * haha ive done it! thank you sir!:)

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

The topic ‘WordPress can run using wampserver?’ is closed to new replies.

## Tags

 * [wampserver](https://wordpress.org/support/topic-tag/wampserver/)

 * In: [Localhost Installs](https://wordpress.org/support/forum/localhost-installs/)
 * 4 replies
 * 3 participants
 * Last reply from: [morthea](https://wordpress.org/support/users/morthea/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/wordpress-can-run-using-wampserver/#post-3325252)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
