You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Piotr Gawłowski <d3...@gmail.com> on 2011/11/04 10:21:35 UTC

sql syntax error

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