linux how to get all mysql databases names command code example Example: mysql command line see all databases SHOW DATABASES;