As Ewellyuan said, it is best not to modify system properties, but only modify table properties. If you really want to change it, you can modify it through the following command: mysql> set [global] auto_increment_increment=X; where global refers to the global modification. Without global, it is just the session level (for the current user connection, if you exit The modification will be invalid)
It is not recommended to modify the system settings. If you need to modify the auto-increment starting value of a certain table, you can use:
As Ewellyuan said, it is best not to modify system properties, but only modify table properties. If you really want to change it, you can modify it through the following command:
mysql> set [global] auto_increment_increment=X;
where global refers to the global modification. Without global, it is just the session level (for the current user connection, if you exit The modification will be invalid)