MySQLworkbench设置主键自增长不生效 **操作****原因** 操作 选中AI(即Auto Increment)设置为自增长,点击Apply结果发现没有审核改变 原因 由于设置自增长需要类型为int类型,而之前没注意设置为String类型