List:General Discussion« Previous MessageNext Message »
From:Michael Shulman Date:April 4 2003 5:37pm
Subject:RE: Pre parsing
View as plain text  
The -f (force) flag will tell your script to continue even if it encounters
an error.

http://www.mysql.com/doc/en/mysql.html

-ms

-----Original Message-----
From: Jerry [mailto:jerry@stripped] 
Sent: Friday, April 04, 2003 5:46 AM
To: mysql@stripped
Subject: Pre parsing

Hi,

Anyone know of a  way of pre parsing a *.sql file to make sure that it is
syntactically correct , opposed to having to up load a file and when it
breaks loosing everything after the line with an error on it.

Either that or a way of telling it to carry on after finding an error.

i.e. using

mysql -u user -ppassword  my_dB < some_file.sql

With the "Just do it" flag ?


Cheers
Jerry


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/mysql?unsub=1


Thread
Open_files drops fast. Why?Mike South2 Apr
  • Re: Open_files drops fast. Why?Paul DuBois3 Apr
  • Re: Open_files drops fast. Why?Dan Nelson3 Apr
Re: Open_files drops fast. Why?Mike South4 Apr
  • Pre parsingJerry4 Apr
    • RE: Pre parsingNick Arnett4 Apr
    • RE: Pre parsingMichael Shulman4 Apr
Re: Open_files drops fast. Why?Mike South4 Apr