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