ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Piotr Gawłowski <d3vilr...@gmail.com>
Subject sql syntax error
Date Fri, 04 Nov 2011 09:21:35 GMT
Why this code

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

gives 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


Please help me

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


Mime
View raw message