Acquia Drupal Stack - Troubleshooting
Overview
-
Mac OS X - mysqldump on the command line fails
Mac OS X - mysqldump on the command line fails
Symptom - When exporting a website you have developed on the Acquia Drupal stack and a command like this fails to export the database:
mysqldump -u [user] [databasename]
Solution - The mysqldump command needs more specific information in this case. Try the following command. Substitute the correct path to the DAMP stack on your computer for "path/to/DAMP/" and enter your database password when prompted:
./mysqldump -S /path/to/DAMP/install/mysql/data/mysql.sock \
-u [database username] -p [databasename]