support/mysqldump/README.md
In order to export and import mysqldump through vtgate, unsupported queries and statements need to be stripped from the dump.
A 2-step process is advised.
Define the variables then run the script
vitess/support/mysqldump$ ./mysqldump.sh
The script will output 2 files to enable debugging;
schema.sql
data.sql
The script will also attempt to import the schema and data into Vitess via vtgate.