https://issues.apache.org/bugzilla/show_bug.cgi?id=48533

iJay <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

--- Comment #3 from iJay <[email protected]> 2010-01-17 22:07:50 UTC ---
(In reply to comment #1)
> My guess is that the file's encoding doesn't match your platform's default
> encoding.
> 
> Does it work if you specify the files encoding using <sql>'s encoding 
> attribute
> explicitly?

Sure, the SQL script file is utf8 encoded.  If I remove "encoding" attribute
from sql task, the error msg will be

com.mysql.jdbc.exceptions.jdbc4.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 '??????CREATE DATABASE IF NOT EXISTS
chinatrial'

(6 questions marks)

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to