Use the SHOW statement to find out what databases currently exist on the server
mysql> mysql> SHOW DATABASES; +--------------------+ | Database | +--------------------+ | information_schema | | mysql | | test | +--------------------+ 3 rows in set (0.00 sec)
mysql> mysql>
The mysql database describes user access privileges.
The test database is for users to try things out.
Related Scripts with Example Source Code in same category :