mysql 插件相关命令

# 查看mysql的插件

show plugins G

# 安装mysql 插件

INSTALL PLUGIN spartan SONAME 'ha_spartan.so';

# 卸载

UNINSTALL PLUGIN spartan;

# 查看插件目录

show variables like  'plugin_dir'

原文地址:https://www.cnblogs.com/kisstherain/p/10409148.html