ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Fetzer <elstonk...@yahoo.com.INVALID>
Subject Re: Issue with sql task accessing MySql
Date Wed, 28 Aug 2019 17:45:06 GMT
 Thanks Stefan, a bit better:
$ ant -f test.xmlBuildfile: test.xml
main:
BUILD FAILEDc:\BuildDeployScripts\test.xml:22: java.lang.UnsupportedClassVersionError: (com/mysql/jdbc/Driver)
bad major version at offset=6
Total time: 0 seconds

    On Wednesday, August 28, 2019, 10:49:54 AM MDT, Stefan Bodewig <bodewig@apache.org>
wrote:  
 
 On 2019-08-28, Eric Fetzer wrote:

> The MySql server I'm accessing upgraded to version 8.0.17:

> So, accordingly, I downloaded the proper driver and linked to it in my task:

> <pathelement path="c:/apache-ant-1.7.0/lib/mysql-connector-java-8.0.17.jar"/>

> BUILD FAILEDc:\BuildDeployScripts\test.xml:22: com.mysql.jdbc.exceptions.MySQLNonTransientConnectionException:
Client does not support authentication protocol requested by server; consider upgrading MySQL
client

Anything in c:/apache-ant-1.7.0/lib is probably on your CLASSPATH
anyway. Is it possible there is an older version of the mysql connector
inside of that folder as well? If so, remove it.

Stefan

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

  
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message