Mysql supports transaction processing

Source: Internet
Author: User

Mysql supports transaction processing. In MYSQL, only INNODB and BDB data tables can support transaction processing. In general, the default engine of MYSQL database is MyISAM, which does not support transactions; if you want MYSQL to support transactions, You can manually modify the statement as follows: 1. Run show engines in phpmyadmin. If InnoDB is set to YES, InnoDB is supported; this means that transaction is supported. 2. When creating a table, you can select the InnoDB Engine for the Storage Engine. For a previously created table, you can use alter table name type = InnoDB; or mysql-> alter table table_name engine = InnoDB; to change the data table engine to support transactions.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.