mysql get all database names code example Example: mysql command line see all databases SHOW DATABASES;