mysql 提示 The table does not comply with the requirements by an external plugin.错误 - Go语言中文社区

mysql 提示 The table does not comply with the requirements by an external plugin.错误


1.检查表主键是否创建

2.查看数据库表所使用的数据库引擎:

SELECT table_name, table_type, engine FROM information_schema.tables 
WHERE table_schema = 'database_name' ORDER BY table_name DESC;

3.将MyISAM引擎,改为Innodb后可解决问题。

4.修改表引擎方法
 alter table table_name engine=innodb;

版权声明:本文来源CSDN,感谢博主原创文章,遵循 CC 4.0 by-sa 版权协议,转载请附上原文出处链接和本声明。
原文链接:https://blog.csdn.net/zhangxl4479/article/details/88394442
站方申明:本站部分内容来自社区用户分享,若涉及侵权,请联系站方删除。
  • 发表于 2023-01-03 19:58:49
  • 阅读 ( 335 )
  • 分类:数据库

0 条评论

请先 登录 后评论

官方社群

GO教程

猜你喜欢