• Hello World

    So I would like two (or more) local instances of WordPress to run side by side on my laptop.

    downloaded and installed WAMP.
    downloaded and installed WordPress 3.6
    managed to get everything up and running

    Decided I needed another instance of WordPress.

    When I navigate to WordPress Instance 2 I get an error message:

    There doesn’t seem to be a wp-config.php file. I need this before we can get started.

    Need more help? We got it.

    You can create a wp-config.php file through a web interface, but this doesn’t work for all server setups. The safest way is to manually create the file.

    I click the button “Create a Configuration File”
    Then the button “Let’s Go!”
    I just used the default values
    clicked the “submit” button

    Then I got the following 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.

    I repeated the process and changed the default values for username and password etc. But it made no difference.

    What am I missing?
    Is it possible to have two or more local instances of WordPress?
    Can anyone help?

    Cheers

Viewing 1 replies (of 1 total)
  • Ideally, each WordPress install should be in it’s own directory in your htdocs folder.

    For each WordPress install you also need a database. That means each WordPress site has its own database.

    So for two WordPress installs, you will need two separate databases in MySQL – one for each WordPress install (site).

    Then each install needs to have its own wp-config.php file to tell the installs which database is theirs, etc.

    Once you have that all squared away, you can have one or as many WordPress sites as you can run, running off the same “server”.

    Make sense?

Viewing 1 replies (of 1 total)
  • The topic ‘Multiple local instances of WordPress’ is closed to new replies.