Skip to content

Instantly share code, notes, and snippets.

@pauloharaujos
Created January 21, 2020 14:06
Show Gist options
  • Save pauloharaujos/ee27befe37efa0a65959d3917378bf4f to your computer and use it in GitHub Desktop.
Save pauloharaujos/ee27befe37efa0a65959d3917378bf4f to your computer and use it in GitHub Desktop.
How to backup you MYSQL databases if mysql is broken
Copy the paste /usr/local/var/mysql/
1 -Try this :
valet stop mysql
mv /usr/local/var/mysql/ib_log* /Users/paulo/Downloads
valet start mysql
2 - IF the step 1 not worked, try reinstall the MYSQL
3 - Copy the files again :)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment