ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Fetzer <>
Subject Issue with sql task accessing MySql
Date Wed, 28 Aug 2019 16:02:05 GMT
The MySql server I'm accessing upgraded to version 8.0.17:

 mysql> select version();+-----------+| version() |+-----------+| 8.0.17    |+-----------+1
row in set (0.00 sec)

So, accordingly, I downloaded the proper driver and linked to it in my task:
        <sql driver="com.mysql.jdbc.Driver"          url="jdbc:mysql://myServerName.myDomain:3306/myDB" 
        userid="myUser" password="myPassword">          <classpath>   
        <pathelement path="c:/apache-ant-1.7.0/lib/mysql-connector-java-8.0.17.jar"/> 
        </classpath>          CALL sp_setBuildStatus('${pk_build}','${full.buildnumber}-${build-time}','${result}'); 
Seems I did the right thing, but still getting the error when I attempt to call this Stored

$ ant -f test.xmlBuildfile: test.xml
BUILD FAILEDc:\BuildDeployScripts\test.xml:22: com.mysql.jdbc.exceptions.MySQLNonTransientConnectionException:
Client does not support authentication protocol requested by server; consider upgrading MySQL
Total time: 1 second

Anyone have any idea what I'm running into here?
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message