Tuesday, September 9, 2008

Execute external sql file for MySQL

Start MySQL client
mysql -u root -p

It will prompt you to input the password. After login, type the command below will run the external sql file.
source schema.sql

No comments:

Post a Comment