Home > Database > Mysql Tutorial > mysql中show常用语句_MySQL

mysql中show常用语句_MySQL

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-01 13:32:47
Original
1044 people have browsed it

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
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
MySQL stops process
From 1970-01-01 08:00:00
0
0
0
Error when installing mysql on linux
From 1970-01-01 08:00:00
0
0
0
phpstudy cannot start mysql?
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template