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

Heim  >  Artikel  >  Datenbank  >  mysql-JDBC 通过SSH Tunnel连接MySQL数据库

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

WBOY
WBOYOriginal
2016-06-06 09:36:431284Durchsuche

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.

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn