1. 查看存储引擎
show engines;
2. 查看数据存储位置
show variables like ‘datadir‘;
3. 存储引擎
create table mytest engine=myisam as select * from salaries;
alter table mytest engine=innodb;
时间: 2024-10-19 05:23:45
1. 查看存储引擎
show engines;
2. 查看数据存储位置
show variables like ‘datadir‘;
3. 存储引擎
create table mytest engine=myisam as select * from salaries;
alter table mytest engine=innodb;