您好,欢迎来到乐模财经。
搜索
您的当前位置:首页mysql中show常用语句_MySQL

mysql中show常用语句_MySQL

来源:乐模财经


bitsCN.com

mysql中show常用语句

查看引擎:

show engines/G

看某一个表的存储引擎,就是看该表的创建过程

show create table [tb_name]/G

show table status like '[tb_name]'/G;

select table_name,engine from tables where table_name='[tb_name]' and table_schema='[db_name]'/G

--修改存储引擎:

alter table city engine=MyISAM;

bitsCN.com

Copyright © 2019- lemon8app.com 版权所有

违法及侵权请联系:TEL:199 18 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务