1
我部署了一个Web应用程序到CloudBees,并使用一键GUI创建了一个MySQL数据库。它看起来像auto_increment_increment
选项设置为10(表中的id
在每个新行中增加10)。我试图改变auto_increment_increment
:在虚拟主机提供商的数据库中更改`auto_increment_increment`
SET GLOBAL auto_increment_increment=1;
但我得到了一个错误:Error Code: 1227. Access denied; you need (at least one of) the SUPER privilege(s) for this operation
。
如何更改auto_increment_increment
?在您的供应商
你确定吗?是一个非常引人注目的配置...如果你执行:'SHOW variables LIKE'%auto_increment%';'什么值给你? – Sal00m 2014-09-02 09:00:58
该错误显示访问权限权限。你可以试试这个,如果你得到可能的als?截断表并再次运行此查询?因为你已经设置了10并且插入了一张桌子。 – 2014-09-02 09:01:24
@ Sal00m我得到'auto_increment_increment' = 10和另外三个变量。 – Alex 2014-09-02 09:03:47