当前位置:网站首页>Manually set transaction commit in mysql
Manually set transaction commit in mysql
2022-07-30 23:14:00 【Health and alive】
A description
Under normal circumstances, mysql defaults to autocommit = 1, which automatically commits transactions.Autommit is session-level, that is, the current connection changes autocommit, which has no effect on other connections.When autocommit = 0 is set, it needs to be committed manually.
1. Manually commit transactions in session settings

Query in another session


2. Use the commit command, after submitting

View in another session: already seen, the modification and submission are successful, you can see here

边栏推荐
猜你喜欢
![[MySQL] Related operations on databases and tables in MySQL](/img/a5/c92e0404c6a970a62595bc7a3b68cd.gif)
[MySQL] Related operations on databases and tables in MySQL

VS2017 compile Tars test project

JS中? ?和??=和?.和 ||的区别

微软商店出现【0x800706D9】解决方法
![[0x800706D9] solution appears in Microsoft Store](/img/f2/7485cd55fd260220378acd485d8dc9.png)
[0x800706D9] solution appears in Microsoft Store

Py之pdpbox:pdpbox的简介、安装、案例应用之详细攻略

PyTorch模型导出到ONNX文件示例(LeNet-5)

Chapter 8 Intermediate Shell Tools II

Go语学习笔记 - gorm使用 - 表增删改查 Web框架Gin(八)

2sk2225 Substitute 3A/1500V Chinese Documentation【PDF Data Book】
随机推荐
proemthues 服务发现配置
Summary of BFS questions
# Dasctf 7月赋能赛 WP
Week 19 Progress (Understanding IoT Basics)
[MySQL] Related operations on databases and tables in MySQL
leetcode 406. Queue Reconstruction by Height 根据身高重建队列(中等)
“蔚来杯“2022牛客暑期多校训练营4 DHKLN
Excel basic study notes
StoneDB 为何敢称业界唯一开源的 MySQL 原生 HTAP 数据库?
编码与进制
DFS题单以及模板汇总
reindex win10
Lambda表达式
Successfully resolved ModuleNotFoundError: No module named 'Image'
grub learning
Ningbo Zhongning Pawn will transfer 29.5% of the equity for 2.8338 million yuan, and the owner's equity in 2021 will be 9.6875 million yuan
MySQL进阶sql性能分析
测试人面试 常被问到的计算机网络题,高薪回答模板来了
uniapp开发微信小程序-软考刷题小程序
2022.7.28