Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Peter Freitag / Peter Freitag (Peter Freitag)
Created: 02/26/2013
Components: Database
Versions: 10.0
Failure Type: Non Functioning
Found In Build/Fixed In Build: Final / 285015
Priority/Frequency: Critical / All users will encounter
Locale/System: English / Platforms All
Vote Count: 4
Problem Description:
The MySQL JDBC Driver that ships with ColdFusion makes calls with SET OPTION, which has been deprecated in favor of SET (without OPTION) for some time. MySQL 5.6 removes support for SET OPTION causing most queries to break when run against it.
See this thread on StackOverflow for more info: http://stackoverflow.com/questions/15038312/cf10-mysql-sql-select-limit-default
Steps to Reproduce:
Install MySQL 5.6 add a datasource and try to run a query against it that does not contain a LIMIT operator.
Actual Result:
Error Executing Database Query.
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'OPTION SQL_SELECT_LIMIT=DEFAULT
Expected Result:
The query runs
Any Workarounds:
You may be able to use the MySQL JDBC driver instead, but I haven't tested this.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3506758
Keywords:
FixTested
External Customer Info:
External Company:
External Customer Name: pete_freitag
External Customer Email:
Attachments:
Comments: