文件首頁
MySQL 8.4 參考手冊
相關文件 下載本手冊
PDF (美國信紙尺寸) - 39.9Mb
PDF (A4) - 40.0Mb
Man Pages (TGZ) - 258.5Kb
Man Pages (Zip) - 365.5Kb
Info (Gzip) - 4.0Mb
Info (Zip) - 4.0Mb


MySQL 8.4 參考手冊  /  ...  /  取得組件資訊

7.5.2 取得組件資訊

mysql.component 系統表格包含目前載入的組件資訊,並顯示哪些組件已使用 INSTALL COMPONENT 註冊。從表格中選取會顯示已安裝哪些組件。例如

mysql> SELECT * FROM mysql.component;
+--------------+--------------------+------------------------------------+
| component_id | component_group_id | component_urn                      |
+--------------+--------------------+------------------------------------+
|            1 |                  1 | file://component_validate_password |
|            2 |                  2 | file://component_log_sink_json     |
+--------------+--------------------+------------------------------------+

component_idcomponent_group_id 值供內部使用。component_urn 是在 INSTALL COMPONENTUNINSTALL COMPONENT 陳述式中用於載入和卸載組件的 URN。