Product: DbVisualizer Personal 8.0
Build: #1689 (2011/06/16 12:10)
Java VM: Java HotSpot(TM) Client VM
Java Version: 1.7.0_04
Java Vendor: Oracle Corporation
OS Name: Windows XP
OS Arch: x86
OS Version: 5.1An error occurred while establishing the connection:Long Message:
Packet for query is too large (3158578 > 1048576). You can change this value on the server by setting the max_allowed_packet' variable.Details:
Type: com.mysql.jdbc.PacketTooBigException
Error Code: 0
SQL State: S1000
我用DbVisualizer连接我的MySQL就出现这个错误。
没有在my.ini里增加max_allowed_packet时,还能连接。
后来因为我网站的需要,我将max_allowed_packet改到了16MB。
现在无法连接了。
即使把max_allowed_packet从my.ini里删掉也依然无法连接。每次修改后都重启过MySQL的。请问谁有遇到过类似的问题吗?如何解决的?上面的方法我在家里和公司都试过了。都不行。或者有类似DbV的工具没??Navigat就算了,没DbV好用,虽然能用。
Build: #1689 (2011/06/16 12:10)
Java VM: Java HotSpot(TM) Client VM
Java Version: 1.7.0_04
Java Vendor: Oracle Corporation
OS Name: Windows XP
OS Arch: x86
OS Version: 5.1An error occurred while establishing the connection:Long Message:
Packet for query is too large (3158578 > 1048576). You can change this value on the server by setting the max_allowed_packet' variable.Details:
Type: com.mysql.jdbc.PacketTooBigException
Error Code: 0
SQL State: S1000
我用DbVisualizer连接我的MySQL就出现这个错误。
没有在my.ini里增加max_allowed_packet时,还能连接。
后来因为我网站的需要,我将max_allowed_packet改到了16MB。
现在无法连接了。
即使把max_allowed_packet从my.ini里删掉也依然无法连接。每次修改后都重启过MySQL的。请问谁有遇到过类似的问题吗?如何解决的?上面的方法我在家里和公司都试过了。都不行。或者有类似DbV的工具没??Navigat就算了,没DbV好用,虽然能用。
解决方案 »
- 谁能给个mysql 下载地址??
- 急求解决mysql无法远程连接问题ERROR 2003 (HY000): Can't connect to MySQL server on '202.99.67
- MYSQL存储过程如何调试,请教高手
- Mysql存储过程语法问题...
- ib_logfile0这个文件有没有办法看到里面的内容呢?
- Mysql三表查询问题
- 强烈鄙视这样结贴的
- mysql中这个用外按键的表为什么建不出来,sql的语法有错吗?
- ADOQUERY通过MYoledb联接MYSQL数据库,更新记录时出错!急......在线等待!!!!
- select * from ceca_form_satpa where data_1 like '%%'为什么只能查出一条呢?
- MYSQL 关于字符串过滤问题
- sudo centOS 6.4 mySQL 无法启动
这个提示真坑爹。