export mysql 5 schema with data command line code example
Example: mysqldump cli command
Press CTRL+C to copy shell> mysqldump --databases db1 db2 db3 > dump.sql
Press CTRL+C to copy shell> mysqldump --databases db1 db2 db3 > dump.sql