how to select all database in mysql command line code example Example: mysql command line see all databases SHOW DATABASES;