I am trying to disable autocommit. But it never gets off. I tried different methods.
set autocommit=0;
set autocommit='OFF';
Also, I edited my.cnf file in [client] section
init-command='set autocommit=0'
init-command='set autocommit='OFF''
Also, set global didn't work.
set global autocommit=0;
set global autocommit='OFF';
None of these really worked. Please help me how to turn off this autocommit thing.