Display List of Existing MySQL Databases on Server



The 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)
Updated on: 2020-01-28T10:24:46+05:30

92 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements