Authentication Plugins This section describes how to install the no-login authentication plugin. For general information about installing plugins, see Section 5.6.1, “Installing and Uninstalling Plugins” . To be usable by the server, the plugin library file must be located in the MySQL plugin directory (the directory named by the  plugin_dir  system variable). If necessary, configure the plugin directory location by setting the value of  plugin_dir  at server startup. The plugin library file base name is  mysql_no_login . The file name suffix differs per platform (for example,  .so  for Unix and Unix-like systems,  .dll  for Windows). To load the plugin at server startup, use the  --plugin-load-add  option to name the library file that contains it. With this plugin-loading method, the option must be given each time the server starts. For example, put these lines in the server  my.cnf  file, adjusting the  .so  suffix for your platform as necessary: [mysqld] plugin-load-add=mysql_no_login.so After modifying  my.cnf , restart the server to cause the new settings to take effect. Alternatively, to load the plugin at runtime, use this statement, adjusting the  .so  suffix for your platform as necessary: INSTALL PLUGIN mysql_no_login SONAME ’mysql_no_login.so’; INSTALL PLUGIN  loads the plugin immediately, and also registers it in the  mysql.plugins  system table to cause the server to load it for each subsequent normal startup without the need for  --plugin-load- add . To verify plugin installation, examine the  INFORMATION_SCHEMA.PLUGINS  table or use the  SHOW PLUGINS  statement (see Section 5.6.2, “Obtaining Server Plugin Information” ). For example: If the plugin fails to initialize, check the server error log for diagnostic messages. To associate MySQL accounts with the no-login plugin, see Using No-Login Pluggable Authentication. The method used to uninstall the no-login authentication plugin depends on how you installed it: UNINSTALL PLUGIN mysql_no_login; 1354 •If you installed the plugin at runtime using an  INSTALL PLUGIN  statement, it remains installed across server restarts. To uninstall it, use  UNINSTALL PLUGIN : •If you installed the plugin at server startup using a  --plugin-load-add  option, restart the server without the option. Installing No-Login Pluggable Authentication Uninstalling No-Login Pluggable Authentication mysql>  SELECT PLUGIN_NAME, PLUGIN_STATUS FROM INFORMATION_SCHEMA.PLUGINS WHERE PLUGIN_NAME LIKE ’%login%’; +----------------+---------------+ | PLUGIN_NAME | PLUGIN_STATUS | +----------------+---------------+ | mysql_no_login | ACTIVE | +----------------+---------------+