How to Dump Several MySQL Databases Into Text File

, , Leave a comment



Use –databases option for exporting several databases.

mysqldump -u username -ppassword –databases db_name1 [db_name2 ...] >dump.sql
 

Leave a Reply