show databases mysql code example
Example 1: mysql list databases
SHOW DATABASES;
Example 2: show databases in sql server
SELECT * FROM SYS.DATABASES
Example 3: mysql get db name
SELECT DATABASE();
Example 4: how to show current database in mysql
CopySELECT database();
Example 5: how to see database in mysql command line
use DBNAME;