dergachev / vagrant_drupal

Deploy a local Drupal development stack with Vagrant.
9 stars 2 forks source link

Use drush site-install to provision db #6

Open dergachev opened 11 years ago

dergachev commented 11 years ago

Currently drush sql-create leaves a blank db, and throws scary messages in drush and when visiting the site. (eg PDOException: SQLSTATE[42S02]: Base table or view not found ...)

That's simply because settings.php exists but there are no tables in the database. Currently one can manually go to /install.php and put everything in, but drush si would be nicer.

dergachev commented 11 years ago

drush site-install -y --account-name=admin --account-pass=admin seems to work. Drops all the tables though.