Home > Database > Mysql Tutorial > body text

Myeclipse使用DBBrowser连接数据库错误:OPTIONSQL_SELECT_LIMIT

WBOY
Release: 2016-06-07 16:11:07
Original
1143 people have browsed it

(1)由于前一段时间更新了mysql的最新版本到mysql5.6,在使用myeclipse的DB Browser时,编辑数据出现以下错误: (2)网上一查原来是,因为mysql驱动jar版本低造成的;以前使用的mysql驱动是mysq-connector-java-5.0.8-bin.jar,我们在开发的时候会在创建数

(1)由于前一段时间更新了mysql的最新版本到mysql5.6,在使用myeclipse的DB Browser时,编辑数据出现以下错误:

\

(2)网上一查原来是,因为mysql驱动jar版本低造成的;以前使用的mysql驱动是mysq-connector-java-5.0.8-bin.jar,我们在开发的时候会在创建数据库的时候发送测试语句SET OPTION SQL_SELECT_LIMIT=DEFAULT,上面可以看到mysql5.6的版本已经不在支持该语句,所以会报错。驱动跟不上就出现了错误;

(3)解决方法很简单,就是更新驱动的jar程序到最新版本:喎?http://www.2cto.com/kf/ware/vc/" target="_blank" class="keylink">vcD4KPHA+uPi087zSzOG5qdK7uPbD4rfRz8LU2Nfu0MLH/bavtcS12Na3o7o8L3A+CjxwPmh0dHA6Ly9kZXYubXlzcWwuY29tL2RvYy9yZWxub3Rlcy9jb25uZWN0b3Itai9lbi9uZXdzLTUtMS5odG1sPGJyPgo8L3A+Cgo8cD678tXfztK1xM34xcyjumh0dHA6Ly95dW5wYW4uY24vY0E3R3JZWlBSVkR4OSAgIMzhyKHC6yBlY2JlPC9wPgo8cD48L3A+CjxwPgogwe3N4ru51NrN+MnP1dK1vdK7uPbH/bavzsS8/rj3sOaxvrXE17TMrLHtoaM8L3A+CjxwPgo8L3A+CjxpbWcgc3JjPQ=="http://www.2cto.com/uploadfile/Collfiles/20141205/2014120509373360.png" alt="">

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template