标签:like fse variable glob bsp 查看 rem session --
--设置局部自增步长
set session auto_increment_increment=2;
--设置全局自增步长
set global auto_increment_increment=2;
--查看局部步长
show session variables like ‘auto_inc%‘;
--查看全局步长
show global variables like ‘auto_inc%‘;
--设定起始值
set session auto_increment_offset=10;
set global auto_increment_offset=10;
标签:like fse variable glob bsp 查看 rem session --
原文地址:https://www.cnblogs.com/luckiness/p/13087397.html