having just stumbled into this error myself, the solution is not
exactly as obvious as it might seem: You can have access through the
mysql command line program and still fail to connect through JDBC if
your mysql is configured to give access to user@localhost but your
JDBC requests access for [EMAIL PROTECTED] (even though you
have the host as just "localhost" in the Ant build.xml

Add access for the username with the localhost.localdomain host and it
will work just as you expect.

-- 
Gary Lawrence Murphy <[EMAIL PROTECTED]> TeleDynamics Communications Inc
Business Innovations Through Open Source Systems: http://www.teledyn.com
"Computers are useless.  They can only give you answers."(Pablo Picasso)


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to