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 > Database > Mysql Tutorial > body text

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

WBOY
Release: 2016-06-06 09:36:43
Original
1314 people have browsed it

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.

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