I have a linux system with Mysql contain more than 400 databases,I need to export each databases as a single *.sql
file.Is it possible to do this with mysql_dump
or Mysqlworkbench
.
I have tried mysql_dump
with --all-databases
option.but this make a file with all database.it is large in size.
One way to achieve this is to write a bash script: (Source)
For more information, have a look at this similar question.