hanchuanchuan / goInception

一个集审核、执行、备份及生成回滚语句于一身的MySQL运维工具
https://hanchuanchuan.github.io/goInception/
GNU General Public License v3.0
1.62k stars 553 forks source link

将json字段类型改成varchar时报错(2013, 'Lost connection to MySQL server during query') #657

Open Asa6 opened 3 months ago

Asa6 commented 3 months ago

描述 原始表结构: image

将json字段类型改成varchar时审核sql报错(此sql可以手动执行成功): image

环境

参数 可能与问题相关的设置参数

zmix999 commented 3 months ago

可以看下我fork的分支,https://gitee.com/zhoujin826/goInception

MzCqueF56s6Z commented 3 months ago

我也遇到了差不多的问题,可参照我的内容进行临时处理 https://github.com/hanchuanchuan/goInception/issues/660