exception = {"不允许大于max_allowed_pa​​cket的数据包。“} [英] exception = {"Packets larger than max_allowed_packet are not allowed."}

查看:93
本文介绍了exception = {"不允许大于max_allowed_pa​​cket的数据包。“}的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hai ...

当我试图将一个base64转换后的位图图像字符串存储到mysql数据库时抛出异常ex = {不允许大于max_allowed_pa​​cket的数据包。} ..我该怎么办?

数据库字段是VARCHAR(1000)..



登记JAyesh

Hai...
when i tried to store a base64 converted string of a bitmap image to mysql database throws an exception ex = {"Packets larger than max_allowed_packet are not allowed."}..what should i do ?
the database field is VARCHAR(1000)..

Regads JAyesh

推荐答案

当您收到这样的错误时,首先要做的是:将其提供给Google。

A 快速检查 [ ^ ]提供了不少(m超过12,000!)点击主题 - 大多数指的是数据包大小,基本上你增加它: http://dev.mysql.com/doc/refman/5.5/en/packet-too-large.html [ ^ ]
When you get an error like this, the first thing to do is: feed it to Google.
A quick check[^] gives quite a few (more than 12,000!) hits on teh subject - most of them referring to the packet size, and basically you increase it: http://dev.mysql.com/doc/refman/5.5/en/packet-too-large.html[^]


这篇关于exception = {"不允许大于max_allowed_pa​​cket的数据包。“}的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆