'OPTION SQL_SELECT_LIMIT = DEFAULT' [英] 'OPTION SQL_SELECT_LIMIT=DEFAULT'
问题描述
我在 Netbeans 上有一个 mysql 数据库,我希望看到该视图数据,但我有错误1064'OPTION SQL_SELECT_LIMIT = DEFAULT'
。我该怎么办?谢谢。
I have a mysql database on Netbeans and I want to see that view data but I have a error 1064 'OPTION SQL_SELECT_LIMIT=DEFAULT'
. how can I fix ? thanks.
推荐答案
google foo引导我这样做:
Some google foo lead me to this:
http://bugs.mysql.com/bug.php?id=66659
这个错误报告听起来很像你的问题 - 没有很好的修复
你。但是有更多阅读的领先优势。
That bug report sound pretty much like your problem - there is no good fix for you. But there is a lead for some more reading.
与你的相似问题:
- 它也是涉及的jdbc驱动程序
- 错误消息是相同的
- 在最近的mysql服务器版本上出现问题
所以我试图在mysql-connector-java源代码中找到问题,并在5.1版本的StatementImpl.java中找到
语句.18 - 旧版本可以在这里找到
:
So I tried to find the problem in the mysql-connector-java sources and found the statement in StatementImpl.java in version 5.1.18 - an older version can be found here:
http://www.docjar.com/html/api/com/mysql/jdbc/StatementImpl.java.html
在文件中查找SET OPTION SQL_SELECT_LIMIT = DEFAULT,你会发现
it。
Look for "SET OPTION SQL_SELECT_LIMIT=DEFAULT" in the file and you will find it.
我也是检查了最新版本
我检查了mysql-connector-java 5.1.22的来源,问题似乎是
修复:
I checked the source of mysql-connector-java 5.1.22 and the problem seems to be fixed:
SET SQL_SELECT_LIMIT = DEFAULT
SET SQL_SELECT_LIMIT=DEFAULT
为用户建议修复:请下载较新版本的connector / j
并修改数据库中的驱动程序条目。
So suggested fix for the user: Please download the newer version of connector/j and modify the driver entry in databases.
建议修复:更新捆绑的连接器/ j版本
Suggested fix: Update bundled connector/j version
这篇关于'OPTION SQL_SELECT_LIMIT = DEFAULT'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!