Home > Database > Mysql Tutorial > body text

How to check whether mysql is automatically submitted

coldplay.xixi
Release: 2020-08-24 15:29:03
Original
4634 people have browsed it

Mysql How to check whether automatic submission: Check the autocommit status, the code is [set autocommit=on;] or [set autocommit=1;].

How to check whether mysql is automatically submitted

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;

How to check whether mysql is automatically submittedRelated learning recommendations:

mysql tutorial

The 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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!