Home > Database > Mysql Tutorial > mysql中查询数据库下所有的表_MySQL

mysql中查询数据库下所有的表_MySQL

WBOY
Release: 2016-06-01 13:18:14
Original
1409 people have browsed it

bitsCN.com

老是忘记,这里做个备注!
Copy after login
1、首先查看数据库
Copy after login
	show databases;
Copy after login
2、进入数据库
Copy after login
	use db_name;
Copy after login
3、显示所有的表
Copy after login
	show tables;
Copy after login
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template