I have 200+ mysql database dump in tar.gz format. Restoring all of them one by one is very time consuming. Is there any way so I can restore all these database in a single transaction.
Thanks for your help in advance!
I have 200+ mysql database dump in tar.gz format. Restoring all of them one by one is very time consuming. Is there any way so I can restore all these database in a single transaction.
Thanks for your help in advance!
No, because transactions don't cross database boundaries. On the other hand, if you want to load 200+ databases with a single command, just script the process.
With bash: