Re: Issue with sql task accessing MySql

Stefan Bodewig <[email protected]> Wed, 28 Aug 2019 18:49:48 +0200
Newsgroups gmane.comp.jakarta.ant.user
Message-ID <[email protected]>
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