Answers.Body: <p>I have just run into a similar problem.</p>
  
  <p>I'm not sure if this is what fixed it but try creating an Envvars file as per jonlivingstone's comment here <a href="https://github.com/craftcms/cms/issues/2364" rel="nofollow noreferrer">https://github.com/craftcms/cms/issues/2364</a></p>
  
  <p>Once I had done that my backup ran. I then had to switch MAMP out of FastCGI mode otherwise I got a 500 error at the end of the update process.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-05-03T16:46:13.593Z
Answers.Text: The Envvars file fixed it for me too once I also ran the following command in terminal: sudo ln -s /Applications/MAMP/Library/bin/mysqldump /usr/local/bin/mysqldump as per https://github.com/craftcms/cms/issues/1369#issuecomment-279102527 See https://craftcms.stackexchange.com/questions/23290/craft-3-cant-backup-database for similar issue with explanation of Craft 3 backup differences
Answers.UserDisplayName: Janine
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-04-11T19:29:18.163Z
Answers.LastActivityDate: 2018-04-11T19:29:18.163Z
Answers.UserDisplayName: foamcow
Body: <p>I installed Craft CMS 3.0.1 locally on MAMP (Apache/PHP7.0.22), but when I want to do a backup of the database it says:
  "There was a problem backing up your database. Please check the Craft logs. Back-up van database".
  I cound not find any logs that pin pointed the problem. How does this happen? Thanks in advance.</p>
  
Tags: <craft3><database><mamp><back-up>
Title: Back-up doesn't work in Craft CMS 3 on MAMP locally
ThreadText: # Back-up doesn't work in Craft CMS 3 on MAMP locally
  
  (Asked by: username_0 on 2018-04-11)
  
  I installed Craft CMS 3.0.1 locally on MAMP (Apache/PHP7.0.22), but when I want to do a backup of the database it says:
  "There was a problem backing up your database. Please check the Craft logs. Back-up van database".
  I cound not find any logs that pin pointed the problem. How does this happen? Thanks in advance.
  
  **Tags:** craft3, database, mamp, back-up
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-04-11. Score: 2
  
  I have just run into a similar problem.
  
  I'm not sure if this is what fixed it but try creating an Envvars file as per jonlivingstone's comment here <https://github.com/craftcms/cms/issues/2364>
  
  Once I had done that my backup ran. I then had to switch MAMP out of FastCGI mode otherwise I got a 500 error at the end of the update process.
  
  > **Comments:**
  > **username_2**: The Envvars file fixed it for me too once I also ran the following command in terminal: sudo ln -s /Applications/MAMP/Library/bin/mysqldump /usr/local/bin/mysqldump as per https://github.com/craftcms/cms/issues/1369#issuecomment-279102527 See https://craftcms.stackexchange.com/questions/23290/craft-3-cant-backup-database for similar issue with explanation of Craft 3 backup differences  
  
  ---
  
  