Support » Installing WordPress » Installation of multiple WP scripts

  • I want to install multiple WP scripts on my local computer. What i have found is that i can only install one script and the DB name must be “wordpress”. So, there are no problem with first script installation, but when i want to install one more, i get a message “Error establishing a database connection” or just a blank page. Of course, i created a new DB for a new blog and the DB name in wp-config.php match the name of a new DB. What can you advise me?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Christine Rondeau


    Volunteer Forum Moderator

    I don’t understand why you need to call the db wordPress or why you can’t install more than one db. If you are running Mamp, you should be able to create as many dbs as possible.

    However, if for some reason, you are stuck, you can also just use different table prefixes.

    On line 62 of your wp-config, you’ll find:

    $table_prefix = ‘wp_’;

    You can change that to whatever you want. So let’s say you have 2 sites, one white, one black.

    You would use wp_white_ and wp_black. Both sites would use the same db, but they have different sets of tables.

    Thank you. It was my mistake. I forgot to give privileges for the new databases.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Installation of multiple WP scripts’ is closed to new replies.