Issue with sql task accessing MySql

2019-08-28 Thread Eric Fetzer
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:                                            

Re: Issue with sql task accessing MySql

2019-08-28 Thread Stefan Bodewig
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: > > BUILD FAILEDc:\BuildDeployScripts\test.xml:22: > com.mysql.jdbc.exceptions.MySQLNonTransientConnectionException: Cl

Re: Issue with sql task accessing MySql

2019-08-28 Thread Eric Fetzer
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 B

Re: Issue with sql task accessing MySql

2019-08-28 Thread Stefan Bodewig
On 2019-08-28, Eric Fetzer wrote: > 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 You are run

Re: Issue with sql task accessing MySql

2019-08-28 Thread Eric Fetzer
Is there a way to set that version JUST for this call?  We're building a legacy application here that CANNOT upgrade to a newer version of Java...  Thanks! On Wednesday, August 28, 2019, 12:28:55 PM MDT, Stefan Bodewig wrote: On 2019-08-28, Eric Fetzer wrote: >  Thanks Stefan, a bit

Re: Issue with sql task accessing MySql

2019-08-28 Thread Eric Fetzer
Also, any clue what version of Java do I need to use with this?  1.8? On Wednesday, August 28, 2019, 12:57:34 PM MDT, Eric Fetzer wrote: Is there a way to set that version JUST for this call?  We're building a legacy application here that CANNOT upgrade to a newer version of Java... 

Re: Issue with sql task accessing MySql

2019-08-28 Thread Stefan Bodewig
On 2019-08-28, Eric Fetzer wrote: > Is there a way to set that version JUST for this call? I'm afraid there is no way to run the task in a different JVM than the rest of Ant. Judging from https://dev.mysql.com/doc/connector-j/8.0/en/connector-j-versions.html your MySQL Connector requires Java8