show mysql databases code example
Example 1: mysql list databases
SHOW DATABASES;
Example 2: how to show current database in mysql
CopySELECT database();
Example 3: how to see database in mysql command line
use DBNAME;
SHOW DATABASES;
CopySELECT database();
use DBNAME;