I'm executing the following commands in /var/www/html on a clean Ubuntu 14.04 installation:
drush dl --drupal-project-rename=Platform
cd Platform
drush site install standard -y --db-url=[mysql connection string]/drupal --site-name=Example1
This sets up the site and it's awesome (especially after fighting for two days with the web interface and silly errors).
But now I want to install a 2nd site on this installation:
drush site install standard -y --db-url=[mysql connection string]/drupal2 --site-name=Example2
I get an exception that says, "To start over, you must empty you existing database. To install to a different database, edit the appropriate settings.php file in the sites folder. To upgrade an existing installation etc. etc.".
Is it still trying to install to the original database, thus the reason why I'm getting this error? I created drupal2 prior to running this command, so there's an empty database that exists.
How would I go about fixing this error?
Is it possible to use 1 database for all sites with crush?
Note: Creating a subdirectory in sites and using the --sites-subdir option in the site install command seems to have worked. Not sure how to point my browser to the site or how to use one database yet, but baby steps!