Home > Database > Mysql Tutorial > body text

How to display the list of MySQL databases currently existing on the server?

WBOY
Release: 2023-08-24 16:09:08
forward
1195 people have browsed it

How to display the list of MySQL databases currently existing on the server?

SHOW DATABASES command is used to display the list of currently existing MySQL databases.

mysql> Show Databases;

+-----------------------------+
| Database                    |
+-----------------------------+
| information_schema          |
| gaurav                      |
| mysql                       |
| performance_schema          |
| query                       |
| query1                      |
| sys                         |
| tutorials                   |
+-----------------------------+

8 rows in set (0.02 sec)
Copy after login

The above is the detailed content of How to display the list of MySQL databases currently existing on the server?. For more information, please follow other related articles on the PHP Chinese website!

source:tutorialspoint.com
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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!