Check if the table created by mysql supports things

From the command line or command line tool use:

 show create table tablename

 

 ENGINE=InnoDB This table supports transactions at this time.

If not. Just not supported. .

The table generated by create can automatically support things by modifying the configuration file class.

windows. is my.ini

 


# The default storage engine that will be used when create new tables when
default-storage-engine=INNODB

 

 

The default is annotated. Just remove the comment. When installing the mysql database, remember to select just innodb

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326946272&siteId=291194637