Running a SQL text file in mysql CLI

Use the ‘source’ command:

mysql> source path/to/file.sql

Leave a Reply