Quote:
Originally Posted by it-iss.com
Try using the --force parameter when running mysql command line utility. This continues executing regardless of the errors encountered. If you type in mysql --help there are lots of parameters which might be useful to you.
|
yes sir it works- i used query like
zero@zero-desktop:~/Desktop$ mysql --force --user=root --password=admin --database=zero <query.sql
it execute whole script, is there any command , with the help of that we can create a file where all error ( if exist in script file) placed when script finished..
here it shows 2 genuine error, i want to display this on file??????????/ [because it can use as long it exist]
ERROR 1064 (42000) at line 2: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tab bb (id int)' at line 1
ERROR 1050 (42S01) at line 3: Table 'cc' already exists