Need to split big SQL dump into separate databases?

I do. So I’ve written small bash script to do so. I think it’s self explanatory and does it’s job well :)

I do NOT have CREATE DATABASE in sql file, thus set to USE..

Leave a Reply

Your email address will not be published. Required fields are marked *

× 4 = 24