ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Piotr Gawłowski <d3vilr...@gmail.com>
Subject mysql error
Date Wed, 02 Nov 2011 09:16:46 GMT
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-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message