Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MYSQL_USER=root
- MYSQL_PASS=root
- MYSQL_CONN="-u${MYSQL_USER} -p${MYSQL_PASS}"
- #
- # Collect all database names except for
- # mysql, information_schema, and performance_schema
- #
- for f in dbs/*.sql
- do
- echo "Importing ${f}";
- /Applications/MAMP/Library/bin/mysql ${MYSQL_CONN} < ${f};
- echo "Imported ${f}";
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement