1. 查看MySQL提供的所有存储引擎
show engines;
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/2bcd75a558ff788bf0bc79324d0de6ee.png)
从上图我们可以查看出 MySQL 当前默认的存储引擎是InnoDB,并且在8.0版本中所有的存储引擎中
只有 InnoDB 是事务性存储引擎,也就是说只有 InnoDB ⽀持事务。
2. 查看MySQL当前默认的存储引擎
我们也可以通过下⾯的命令查看默认的存储引擎。
show variables like '%storage_engine%';
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/ec5da17e1f63617eaac7e181386db9a7.png)
3. 查看表的存储引擎
use vhr
show table status like "hr"
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/2f75402e74d5221693873a6830dfc3c5.png)
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/40ef58dfecc9cff0ba1dc2881e79d975.png)