Skip to content

Instantly share code, notes, and snippets.

@raphink
Created June 24, 2013 12:35
Show Gist options
  • Save raphink/5849730 to your computer and use it in GitHub Desktop.
Save raphink/5849730 to your computer and use it in GitHub Desktop.
drush site-install standard --account-pass='MDRHFD' -l default --yes
You are about to DROP all tables in your 'drupal' database. Do you want to continue? (y/n): y
psql:/tmp/drush_tBsan4:1: ERROR: syntax error at end of input
LINE 1: DROP TABLE
^
Starting Drupal installation. This takes a few seconds ... [ok]
WD php: Exception: To start over, you must empty your existing database.To install to a different database, edit the appropriate [error]
settings.php file in the sites folder.To upgrade an existing installation, proceed to the update script.View your existing site.
in install_begin_request() (line 301 of /var/www/pref63_risques-majeurs/htdocs/drupal/includes/install.core.inc).
Cannot modify header information - headers already sent by (output started at /usr/local/share/drush/includes/output.inc:37) [warning]
bootstrap.inc:1212
Exception: <ul><li>To start over, you must empty your existing database.</li><li>To install to a different database, edit the appropriate <em>settings.php</em> file in the <em>sites</em> folder.</li><li>To upgrade an existing installation, proceed to the <a href="http://default/update.php">update script</a>.</li><li>View your <a href="http://default">existing site</a>.</li></ul> in install_begin_request() (line 301 of /var/www/pref63_risques-majeurs/htdocs/drupal/includes/install.core.inc).
Drush command terminated abnormally due to an unrecoverable error. [error]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment