Rechercher dans le manuel MySQL

5.6.2 Obtaining Server Plugin Information

There are several ways to determine which plugins are installed in the server:

  • The INFORMATION_SCHEMA.PLUGINS table contains a row for each loaded plugin. Any that have a PLUGIN_LIBRARY value of NULL are built in and cannot be unloaded.

    1. mysql> SELECT * FROM INFORMATION_SCHEMA.PLUGINS\G
    2. *************************** 1. row ***************************
    3.            PLUGIN_NAME: binlog
    4.         PLUGIN_VERSION: 1.0
    5.          PLUGIN_STATUS: ACTIVE
    6.            PLUGIN_TYPE: STORAGE ENGINE
    7.    PLUGIN_TYPE_VERSION: 50158.0
    8.         PLUGIN_LIBRARY: NULL
    9. PLUGIN_LIBRARY_VERSION: NULL
    10.          PLUGIN_AUTHOR: MySQL AB
    11.     PLUGIN_DESCRIPTION: This is a pseudo storage engine to represent the binlog in a transaction
    12.         PLUGIN_LICENSE: GPL
    13.            LOAD_OPTION: FORCE
    14. ...
    15. *************************** 10. row ***************************
    16.            PLUGIN_NAME: InnoDB
    17.         PLUGIN_VERSION: 1.0
    18.          PLUGIN_STATUS: ACTIVE
    19.            PLUGIN_TYPE: STORAGE ENGINE
    20.    PLUGIN_TYPE_VERSION: 50158.0
    21.         PLUGIN_LIBRARY: ha_innodb_plugin.so
    22. PLUGIN_LIBRARY_VERSION: 1.0
    23.          PLUGIN_AUTHOR: Innobase Oy
    24.     PLUGIN_DESCRIPTION: Supports transactions, row-level locking,
    25.                         and foreign keys
    26.         PLUGIN_LICENSE: GPL
    27.            LOAD_OPTION: ON
    28. ...
  • The SHOW PLUGINS statement displays a row for each loaded plugin. Any that have a Library value of NULL are built in and cannot be unloaded.

    1. mysql> SHOW PLUGINS\G
    2. *************************** 1. row ***************************
    3.    Name: binlog
    4.  Status: ACTIVE
    5.    Type: STORAGE ENGINE
    6. Library: NULL
    7. License: GPL
    8. ...
    9. *************************** 10. row ***************************
    10.    Name: InnoDB
    11.  Status: ACTIVE
    12.    Type: STORAGE ENGINE
    13. Library: ha_innodb_plugin.so
    14. License: GPL
    15. ...
  • The mysql.plugin table shows which plugins have been registered with INSTALL PLUGIN. The table contains only plugin names and library file names, so it does not provide as much information as the PLUGINS table or the SHOW PLUGINS statement.


Find a PHP function

Document created the 26/06/2006, last modified the 26/10/2018
Source of the printed document:https://www.gaudry.be/en/mysql-rf-obtaining-plugin-information.html

The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.

References

  1. View the html document Language of the document:en Manuel MySQL : https://dev.mysql.com/

These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.

Contents Haut