How To List MySQL/MariaDB Databases

RSS
EMAIL
FACEBOOK
FACEBOOK
GOOGLE
GOOGLE
https://www.poftut.com/list-mysqlmariadb-databases/
PINTEREST
PINTEREST
INSTAGRAM

I have some MySQL databases. I have no previous experience about MySQL. How can list existing databases with bash?

MySQL and MariaDB are using same code base and tools. So we can use following instructions to list MariaDB too.

First be sure MySQL/MariaDB service is running

We can enter MySQL prompt like below.

LEARN MORE  Vim Syntax Highlighting How To Turn On , Off

Run command to get list of databases.

List Without Entering MySQL Shell

We can run mysql shell command without entering the shell like below.

You may also like...

Leave a Reply

Your email address will not be published.

Enjoy this blog? Please spread the word :)