Title: Multiple Installations
Last modified: August 20, 2016

---

# Multiple Installations

 *  [Pvteyez](https://wordpress.org/support/users/pvteyez/)
 * (@pvteyez)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/multiple-installations-help/)
 * I did one site on my local machine and published it. Works fine. I’m trying to
   install a new copy of wordpress for a second site and 3 days later I’m going 
   nuts.
 * I’m using WampServer. In myy www folder I created a second folder for the new
   site and downloaded all the wordpress files into it from a clean download. I 
   added a new database in my phpadmin under winamp. In the new wp-config-sample.
   php I added the new db name and a user and p/w. When I run the install from the
   new folder I get so far and then this…
 * 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?
 * I know the host and server are correct. What anm I doing wrong?
 * Now further, I changed the wp_ prefix to wpDDD_ in the sample config file as 
   told by the help screens for multiple copies of wordpress.
 * I’m lost. I’d like to know how to do this so I can work on multiple sites under
   my one copy of WAmpServer and phpAdmin.
 * I’ve been coding professionally for over 25 years but wordpress is new territory
   for me so I’m learning as I go.

Viewing 1 replies (of 1 total)

 *  [Cyb3](https://wordpress.org/support/users/marcuscvjeticanin/)
 * (@marcuscvjeticanin)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/multiple-installations-help/#post-3573010)
 * Hard to say just like that. There is a information that is wrong for sure. Try
   fill in the information in the “wp-config-sample.php” and rename it to “wp-config.
   php” only. There should not be any “wp-config-sample.php” in the folder after
   you have been installing WordPress.
 * Btw, have you visited the site directly after you’ve been added the file into
   the folder? Because if you do that you can enter the information there instead
   of directly in the php file.

Viewing 1 replies (of 1 total)

The topic ‘Multiple Installations’ is closed to new replies.

## Tags

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

 * In: [Localhost Installs](https://wordpress.org/support/forum/localhost-installs/)
 * 1 reply
 * 2 participants
 * Last reply from: [Cyb3](https://wordpress.org/support/users/marcuscvjeticanin/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/multiple-installations-help/#post-3573010)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
