Call external script from mysql

To run a script from within mysql simply to the following

mysql> source d:/my documents/run.sql;

Where d:/my documents/run.sql is the path and name of the script you want to run.

Leave a Reply

Your email address will not be published. Required fields are marked *