view database from mysql code example Example: how to see database in mysql command line SHOW DATABASES;