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