i'm trying to execute a sql script in batch mode. the command i'm typing is:
   mysql < createdb.sql;

does the createdb.sql script need to be in a specific directory for mysql to 
recognize it?  i've tried putting it in mysql\bin and mysql and specifying 
relative and absolute paths to the file.  the only thing i get from mysql is 
"You have an error in your SQL syntax..."

i know this is probably a newbie question, but there isn't anything in the 
documentation about where the script files should be.  can anybody point me 
in the right direction?

thanks in advance.
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com


---------------------------------------------------------------------
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

Reply via email to