L
lionelv
I have a text file that contains a script for creating tables in a
mysql database. It works fine when I use MySQL from command line and do
"source fileName". When I read in the file from my Java program and
then use connectionInstance.executeUpdate(scriptString); I get a syntax
error telling me to look near ";". I can't see why there is a problem.
Are there any ideas, perhaps things are handled a little differently
between commandline and jdbc?
thanks
Lionel.
mysql database. It works fine when I use MySQL from command line and do
"source fileName". When I read in the file from my Java program and
then use connectionInstance.executeUpdate(scriptString); I get a syntax
error telling me to look near ";". I can't see why there is a problem.
Are there any ideas, perhaps things are handled a little differently
between commandline and jdbc?
thanks
Lionel.