Under what circumstances does MySQL use transactions?
TAO
TAO 2018-05-11 14:33:44
0
3
1982

Could you please give me some guidance? Under what circumstances are MySQL transactions enabled?

TAO
TAO

Bystander

reply all(3)
邓

The transaction usage scenario I understand is that the data needs to be jointly changed, such as payment, one needs to be subtracted and the other needs to be added. If it is subtracted but not added, there will be a problem. At this time, transactions can be used without completing the entire process. The previous operations are invalid

  • reply thank you
    TAO author 2018-05-12 12:02:46
legend

When operating multiple tables (checks are not counted, referring to additions, deletions, and modifications), you can use transactions

  • reply Thank you, Daniel
    TAO author 2018-05-12 12:02:21
sky

For example, payment

  • reply For example, what should I pay?
    TAO author 2018-05-12 12:01:49
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template