While using DB toolbox database explorer I consistently get an error message to check the MySQL manual for syntax to use near ‘OPTION SQL_SELECT_LIMIT=25’ at line 1?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I am using MySQL and the JDBC driver.
The full text of the error message is:
You have and 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=25' at line 1
I can establish connections and run queries from the command line. The issue relates to using the database explorer. The error is recent, as the explorer interface worked until recently. I've made a few updates in my environment, but cannot recall the specific event, if any, that triggered the issue.
0 Kommentare
Antworten (1)
Piyush Kumar
am 30 Sep. 2024
If you are using "SET OPTION SQL_SELECT_LIMIT=25;", there is an issue with the syntax.
"SET OPTION" syntax is deprecated, and was removed in version 5.6.
You should just use "SET SQL_SELECT_LIMIT=25;" instead.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Database Toolbox finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!