Please run the following query.
SELECT @@auto_increment_increment
If the value is more than 1 then set it to 1
by the following query:
SET @@auto_increment_increment=1;
Note: This change is visible for the current connection only.
EDIT:
In order to set it globally so that other connections can also see the change you need to set it for global and session too.
SET @@GLOBAL.auto_increment_increment = 1;
SET @@SESSION.auto_increment_increment = 1;
So other connections can see this change now.
More:
This value will be reset if you restart your MySQL
server. In order to make this change permanent you need to write this variable under [mysqld]
secion in your my.cnf [for linux]
or my.ini [for windows]
file.
[mysqld]
auto-increment-increment = 1
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…