如何顯示伺服器上當前存在的 MySQL 資料庫列表?


**SHOW DATABASES** 命令用於顯示當前存在的 MySQL 資料庫列表。

mysql> Show Databases;

+-----------------------------+
| Database                    |
+-----------------------------+
| information_schema          |
| gaurav                      |
| mysql                       |
| performance_schema          |
| query                       |
| query1                      |
| sys                         |
| tutorials                   |
+-----------------------------+

8 rows in set (0.02 sec)

更新於: 2020 年 1 月 28 日

74 次瀏覽

開啟你的 職業生涯

完成課程並獲得認證

開始
廣告
© . All rights reserved.