错误:

我要插入的数据:insert into words values(null,'apple','`æpl','苹果','名词',now(),1);可以发现发音的这一列有个特殊字符 "`æ"无法插入

解决办法

  alter table words change pronounce pronounce varchar(50) character  set UTF8;

就是修改字段的字符集

  语法为:alter table 表名 change 旧字段名 新字段名 数据类型 character set utf8

相关文章:

  • 2022-12-23
  • 2021-12-27
  • 2022-12-23
  • 2022-12-23
  • 2021-07-10
  • 2021-08-09
  • 2022-12-23
  • 2021-12-09
猜你喜欢
  • 2021-11-27
  • 2022-01-31
  • 2021-08-19
  • 2022-02-05
  • 2021-08-14
  • 2021-07-16
相关资源
相似解决方案