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  How To Rename Multiple Files In Linux?

Run command to get list of databases.

List Without Entering MySQL Shell

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

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

Leave a Reply

Your email address will not be published.