{"action":"created","issue":{"url":"https://api.github.com/repos/wp-cli/wp-cli/issues/2484","repository_url":"https://api.github.com/repos/wp-cli/wp-cli","labels_url":"https://api.github.com/repos/wp-cli/wp-cli/issues/2484/labels{/name}","comments_url":"https://api.github.com/repos/wp-cli/wp-cli/issues/2484/comments","events_url":"https://api.github.com/repos/wp-cli/wp-cli/issues/2484/events","html_url":"https://github.com/wp-cli/wp-cli/issues/2484","id":134593385,"number":2484,"title":"Setup multiple multisite installations using the same database is not possible?","user":{"login":"BjornW","id":65042,"avatar_url":"https://avatars.githubusercontent.com/u/65042?v=3","gravatar_id":"","url":"https://api.github.com/users/BjornW","html_url":"https://github.com/BjornW","followers_url":"https://api.github.com/users/BjornW/followers","following_url":"https://api.github.com/users/BjornW/following{/other_user}","gists_url":"https://api.github.com/users/BjornW/gists{/gist_id}","starred_url":"https://api.github.com/users/BjornW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BjornW/subscriptions","organizations_url":"https://api.github.com/users/BjornW/orgs","repos_url":"https://api.github.com/users/BjornW/repos","events_url":"https://api.github.com/users/BjornW/events{/privacy}","received_events_url":"https://api.github.com/users/BjornW/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wp-cli/wp-cli/labels/state:unconfirmed","name":"state:unconfirmed","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-18T14:22:22Z","updated_at":"2016-02-18T15:24:42Z","closed_at":null,"body":"Not sure if this is an issue or more of a discussion on my usage of wpcli: \r\n\r\nI'm using wpcli to setup multiple WordPress Network installations automatically via an Ansible playbook. My objective is to have 2 or more load-balanced WordPress network installations sharing a database. Due to sharing the database I cannot use wpcli's command for multisite installation: it will setup one multisite installation without issue, but the second one is not setup as a Multisite installation. I presume this due to a database check which indicates (wrongfully, in this case) that a multisite has already been set up. I wonder if my usecase can be enabled without negative side effects for other users of wpcli. "},"comment":{"url":"https://api.github.com/repos/wp-cli/wp-cli/issues/comments/185773236","html_url":"https://github.com/wp-cli/wp-cli/issues/2484#issuecomment-185773236","issue_url":"https://api.github.com/repos/wp-cli/wp-cli/issues/2484","id":185773236,"user":{"login":"danielbachhuber","id":36432,"avatar_url":"https://avatars.githubusercontent.com/u/36432?v=3","gravatar_id":"","url":"https://api.github.com/users/danielbachhuber","html_url":"https://github.com/danielbachhuber","followers_url":"https://api.github.com/users/danielbachhuber/followers","following_url":"https://api.github.com/users/danielbachhuber/following{/other_user}","gists_url":"https://api.github.com/users/danielbachhuber/gists{/gist_id}","starred_url":"https://api.github.com/users/danielbachhuber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielbachhuber/subscriptions","organizations_url":"https://api.github.com/users/danielbachhuber/orgs","repos_url":"https://api.github.com/users/danielbachhuber/repos","events_url":"https://api.github.com/users/danielbachhuber/events{/privacy}","received_events_url":"https://api.github.com/users/danielbachhuber/received_events","type":"User","site_admin":false},"created_at":"2016-02-18T15:24:42Z","updated_at":"2016-02-18T15:24:42Z","body":"> Sure, I'm not using different table prefixes, because both installs should use the same database.\r\n\r\nWhy do you need to run the installation command twice then? The command is intended primarily for the database alteration that needs to happen, and secondarily for altering the wp-config"}}