mysql 基本命令操作

1. 查看存储引擎

  show engines;

2. 查看数据存储位置

  show variables like 'datadir';

3. 存储引擎

 create table mytest engine=myisam as select * from salaries;

 alter table mytest engine=innodb;

原文地址:https://www.cnblogs.com/yyy-blog/p/6942481.html