How to Show Database in MySQL?

Open the MySQL command-line client

Log in to MySQL

Run `SHOW DATABASES;`

Run `SHOW SCHEMAS;`

Use `mysql -u username -p -e “SHOW DATABASES;”`

In MySQL Workbench, connect to the server

Expand the Schemas panel

Refresh the schema list

In phpMyAdmin, select the server

View the database list on the left panel

Suggested for You

Trending Today