SELECT * FROM SYS.DATABASES
SELECT * FROM SYS.SYSDATABASES
EXEC sp_databases
SELECT name FROM master.SYS.DATABASES
mysql> show databases;
+--------------------+
| Database |
+--------------------+
| django_mysql_one |
| django_mysql_two |
| information_schema |
| mysql |
| performance_schema |
| sys |
+--------------------+
6 rows in set (0.71 sec)