-
-
Save lrhache/68ddf56ac73d3dcae973 to your computer and use it in GitHub Desktop.
Load up multiple .sql dump files into MySQL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| find . -name '*.sql' | awk '{ print "source",$0 }' | mysql --batch -u xxx -p <database> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment