我想看看是否存在不支持事务的数据库表,需要列出所有表的存储引擎,看看有没有不是InnoDB的。于是写了下面sql语句。
select table_schema,table_name,engine from information_schema.tables
where table_schema not in('information_schema','performance_schema','mysql','test','_DBA');
我想看看是否存在不支持事务的数据库表,需要列出所有表的存储引擎,看看有没有不是InnoDB的。于是写了下面sql语句。
select table_schema,table_name,engine from information_schema.tables
where table_schema not in('information_schema','performance_schema','mysql','test','_DBA');