mysql数据库属性为varchar(25)类型,但只是插入了两个中文时显示data too long?编码设置为utf8; mysql.ini文件也有将utf8改为gbk. 转载于:https://blog.51cto.com/11403737/1764007