> ./mysql -uuser -ppassword database <script.sql might just do that! :-)
----- Original Message ----- From: "Curtis Spencer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, December 21, 2001 11:56 AM Subject: Executing a \. or source function from an API > I have a big file full of ANSI SQL and a I want a script to be able to > tell Mysql to read this ANSI SQL file every few days because it updates > from a third party in ANSI SQL. I wish to avoid running a little parser > that just passes the SQL to the Perl-DBI module query methods, if I > could just simply tell Mysql to execute the SQL script file on the file > system. Any ideas? > > Thanks, > Curtis > > > --------------------------------------------------------------------- > Before posting, please check: > http://www.mysql.com/manual.php (the manual) > http://lists.mysql.com/ (the list archive) > > To request this thread, e-mail <[EMAIL PROTECTED]> > To unsubscribe, e-mail <[EMAIL PROTECTED]> > Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php > > --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php