How can you list all databases in MariaDB?

How can you list all databases in MariaDB?

a) SHOW TABLES
b) LIST DATABASES
c) SHOW DATABASES
d) DATABASE LIST

Answer:

c) SHOW DATABASES

Explanation:

The SHOW DATABASES command is used to list all databases in MariaDB.

Reference:

MariaDB Quiz – MCQ Questions and Answers

Scroll to Top