mysql数据自增ID为2的解决办法
发表于:2022-03-30 15:58:45浏览:3323次
查看配置
show variables like '%increment%';
如果:
auto_increment_increment=2
执行:
set @@global.auto_increment_increment = 1;
set @@auto_increment_increment =1;
如果:
auto_increment_offset=2
执行:
set @@global.auto_increment_offset =1;
set @@auto_increment_offset =1;
栏目分类全部>
推荐文章
- ThinkPHP数据查询去重distinct和group by方法
- ubuntu20.04更换阿里源
- 浅谈linux中/dev/vda1文件满了解决方法
- vue - element-ui -> el-tag 标签状态
- 解决composer install遇到:Your requirements could not be resolved to an installable set of packages
- mysql 更新json数据中文防止被转义
- 微信H5版使用php Ffmpeg将微信录音amr转mp3
- SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length
- 无限极分类设计其一
- 实用技能:60个常用的Linux命令
