简述
非常简单
mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| mysql |
| performance_schema |
| sakila |
| sys |
| test |
| world |
+--------------------+
7 rows in set (0.00 sec)
后记
其实,这里的一个数据库,就是一个在workbench中的一个schema。
其中前三个是默认数据库中的内容。一般来说,workbench是没有权限看的。