I have something like this

<sql driver="com.mysql.jdbc.Driver" classpath="jdbc.jar"
url="jdbc:mysql://localhost" userid="root" password="pass"
src="create.sql" autocommit="true" onerror="abort" encoding="UTF-8" />

But it give's me
BUILD FAILED
com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: 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 '????????????????' at
line 1

even when i change it to something very simple like:

<sql driver="com.mysql.jdbc.Driver" classpath="jdbc.jar"
url="jdbc:mysql://localhost" userid="root" password="pass" />
SELECT 1;
</sql>

I still get the same error.. I have newest jdbc.jar from mysql website
in my directory

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to