Mysql How to check whether automatic submission: Check the autocommit status, the code is [set autocommit=on;] or [set autocommit=1;].
Mysql method to check whether automatic submission:
show variables like 'autocommit'
(ON automatic submission OFF is not automatic submission and requires manual commit;)
Two ways to set mysql to automatically submit transactions and turn off automatic submission of transactions (mysql automatically submits transactions by default)
Automatically commit transactions
The first type is set autocommit=off;
Related learning recommendations:
mysql tutorialThe above is the detailed content of How to check whether mysql is automatically submitted. For more information, please follow other related articles on the PHP Chinese website!