Linux/Mysql

From Wiki

List Databases

mysql -u root -p
show databases;
 
or

mysql -u root -p -e 'show databases;'

Dump Database