List:General Discussion« Previous MessageNext Message »
From:Paul DuBois Date:June 20 1999 11:00am
Subject:Re: How to run SQL script from mysql?
View as plain text  
>Hello!
>
>I'm new to MySql, and the first question is: how can I run several sql
>commands as a script from mysql client? Oracle has '@ file.sql' or
>'start file.sql'. Is there any similar way with mysql? Please help me.

	% mysql < file.sql

Reference:
http://www.mysql.com/Manual_chapter/manual_Tutorial.html#Batch_mode

--
Paul DuBois, paul@stripped
Northern League Chronicles: http://www.snake.net/nl/
Thread
How to run SQL script from mysql?Dmitry Diskin20 Jun
  • Re: How to run SQL script from mysql?Paul DuBois20 Jun