get the list of databases in mysql server through cmd code example Example: mysql list databases SHOW DATABASES;