horses-eating-turnips / turnip

OpenSourcery's Drupal starter kit, with a focus on developer collaboration and reusable code.
http://www.opensourcery.com
GNU General Public License v3.0
25 stars 4 forks source link

Vagrant bin/insall fails due to SQL user error #58

Open sheldonkreger opened 10 years ago

sheldonkreger commented 10 years ago

The 'drupal' user doesn't have rights to access the 'drupal' database and therefore all drush commands (including the site install) fail.

sheldonkreger commented 10 years ago

This is resolved easily by using the mysql command:

GRANT ALL PRIVILEGES ON drupal.* To ''@'localhost'

This gives access to all SQL users (which on current Vagrant config is 'root' and 'drupal').