Mysqldump exited with non-zero exit code

Issue Summary

When I stop Local, I get the error:

Error: mysqldump exited with non-zero exit code.\n at exports.default. (%%appPath%%/main/sites/database/SiteDatabaseService.js:1:1740)\n at Generator.next ()\n at o (%%appPath%%/main/sites/database/SiteDatabaseService.js:1:124)\n at processTicksAndRejections (internal/process/task_queues.js:94:5

{"thread":"main","class":"","stack":"Error: mysqldump exited with non-zero exit code.\n    at exports.default.<anonymous> (%%appPath%%/main/sites/database/SiteDatabaseService.js:1:1740)\n    at Generator.next (<anonymous>)\n    at o (%%appPath%%/main/sites/database/SiteDatabaseService.js:1:124)\n    at processTicksAndRejections (internal/process/task_queues.js:94:5)","level":"error","message":"Unable to dump database.","timestamp":"2020-10-28T23:50:53.228Z"}

I see this issue in other posts but am not sure how to “found some offending views and modified their definer manually to local@localhost”

Troubleshooting Questions

  • On a new, plain WordPress site in Local, the error does not occur.
  • I have no other Local sites to test.

Replication

  1. Start Local
  2. Stop Local
  3. Alert appears

System Details

  • Which version of Local is being used?

    • 5.9.0+4961
  • What Operating System (OS) and OS version is being used?

    • 10.14.6
  • PHP 7.4.1

  • MySQL 5.7.28

  • WP 5.5.1

  • Attach the Local Log. See this Community Forum post for instructions on how to do so:

local-lightning.log (740.4 KB)

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.