show character set;
show create database aloe;
show create table book_category;
show full columns from book_category;

 

ALTER DATABASE `aloe` DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;

ALTER TABLE `book_category` DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;

ALTER TABLE `book_category` CHANGE `name` `name` VARCHAR(200) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL

相关文章:

  • 2022-02-02
  • 2021-09-20
  • 2022-01-29
  • 2022-12-23
  • 2021-06-09
  • 2021-12-20
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-01-05
  • 2021-12-08
相关资源
相似解决方案