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

Home  >  Article  >  Database  >  mysql-JDBC 通过SSH Tunnel连接MySQL数据库

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

WBOY
WBOYOriginal
2016-06-06 09:36:431314browse

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.

Statement:
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