手动转码UTF8转 UTF8MB4问题!
前面转了几十张都正常,就这张pre_ucenter_badwords(utf8)转不动
工具:PHPMYadmin
转码语句:
错误提示:
错误
#1071 - Specified key was too long; max key length is 1000 bytes
我知道答案 回答被采纳将会获得1 贡献 已有0人回答
工具:PHPMYadmin
转码语句:
- USE qianwanmeiren;ALTER TABLE pre_ucenter_badwords CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
错误提示:
错误
静态分析:
分析时发现1个错误。
- Missing comma before start of a new alter operation. (near "CHARACTER SET" at position 44)
SQL 查询:
ALTER TABLE pre_ucenter_badwords CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci
MySQL 返回:
#1071 - Specified key was too long; max key length is 1000 bytes
我知道答案 回答被采纳将会获得1 贡献 已有0人回答