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)
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!