我們如何在伺服器上顯示當前存在的 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)

更新於: 28-1 月-2020

74 次瀏覽

開啟你的事業

完成課程獲得證書

開始
廣告
© . All rights reserved.