I'm moving an old website on CF16 to a new CF21 se...
# cfml-general
b
I'm moving an old website on CF16 to a new CF21 server. Running a query and I get this in a date field: In CF16, it returns a date/time value as normal. Any suggestions on how to fix?
b
@Brian Lang You need to downgrade your MySQL JDBC driver
b
So the built-in drive is no good?
b
There is no built in one
But I suppose I should back up and ask what DB type
I just assumed it was mySQL since this is a common issue
b
Hm. Coworker set up the server, so maybe wrong driver. MySQL. C:\ColdFusion2021\pcbcrm\lib\mysql-connector-java-8.0.25.jar;
b
Yeah, that didn't come bundled with CF. Someone added it
b
ok. Which version should I be using? Database is MySQL 5.26 I think
b
Adobe haven't bundled MySQL drivers for years due to Oracle licensing issues
Check out the comments
You need to go back to 8.0.22
This was just discussed a couple weeks ago in #adobe too
b
Used the downgrade option in the CF Admin and that didn't work. Is there instructions on installing the 8.0.22 driver
OK. Got the 8.0.22 version. Thanks for your help!
s
8.0.23 -- a PATCH release -- introduced breaking changes in date handling. It's very frustrating. Luckily this is nothing to do with Adobe and you can deal with it on your own 🙂