Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何innodb_autoinc_lock_mode在 MySQL 中将全局变量值 1 更改为 0?
innodb_autoinc_lock_mode
打开您的my.cnf并添加以下行:
my.cnf
innodb_autoinc_lock_mode = 0
或者使用命令行参数启动mysql:
--innodb_autoinc_lock_mode = 0