1048576). You can change this value on the server by setting t"/> 1048576). You can change this value on the server by setting t">

Maison  >  Article  >  base de données  >  mysql-JDBC 通过SSH Tunnel连接MySQL数据库

mysql-JDBC 通过SSH Tunnel连接MySQL数据库

WBOY
WBOYoriginal
2016-06-06 09:36:431284parcourir

mysqljdbc数据库sshexception

JDBC 通过SSH Tunnel连接MySQL数据库,在获取connection 的时候总是报查询信息太多,是怎么回事?
具体信息如下:Exception in thread "main" com.mysql.jdbc.PacketTooBigException: Packet for query is too large (4739923 > 1048576). You can change this value on the server by setting the max_allowed_packet' variable.

Déclaration:
Le contenu de cet article est volontairement contribué par les internautes et les droits d'auteur appartiennent à l'auteur original. Ce site n'assume aucune responsabilité légale correspondante. Si vous trouvez un contenu suspecté de plagiat ou de contrefaçon, veuillez contacter admin@php.cn