via kinsta.com => original post link
MySQL is one of today’s most widely used relational database management systems (RDBMS). It’s a robust database platform that allows for creating and managing scalable databases, mainly using a structured query language (SQL).
The MySQL server is the environment in which the databases reside — and where they are accessed. As a server administrator, you will often need to retrieve details about this environment — listing the databases that live on the server, displaying tables from a particular database, viewing user roles and privileges, accessing constraints, and so on.
This article will explain the ins and outs of how to list MySQL databases via the command prompt.