Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change innodb_autoinc_lock_mode to be set to 0 from 1?

Tags:

innodb

How to change the global variable innodb_autoinc_lock_mode value 1 to 0 in MySQL?

like image 871
sidhesh Avatar asked Feb 01 '13 07:02

sidhesh


1 Answers

Open your my.cnf and add the following line and make sure there is no space before or after the '=':

innodb_autoinc_lock_mode=0

or start mysql with the command line parameter:

--innodb_autoinc_lock_mode=0 
like image 129
Iswanto San Avatar answered Sep 27 '22 20:09

Iswanto San