Can't use drush site-install to drop tables and reinstall in MAMP
Make sure nothing breaks Drush calls; attempt a drush cc all to see if the error still appears, and debug if it does.

To avoid dropping the database, the simple "hacked" answer is:


Edit site's settings.php file to use another database scheme (make sure it exists though).

$databases = array (
  'example1' =&gt; 
  array (
    'example1' =&gt; array (
      'database' =&gt; 'example2', // Changed from "example1".
      'username' =&gt; 'user',
      'password' =&gt; 'pass',
    ),
  ),
);

Use site-instal . This will drop "Example2" and install the site there, without hurting the original database.
Edit the site's configuration file back to original database scheme.


You need to use backquotes on the "drush sqlc" part:``drush sql-connect`` &lt; path/to/file.sql.