6.3.1 Password Validation Component Installation and Uninstallation

This section describes how to install and uninstall the
validate_password password-validation
component. For general information about installing and
uninstalling components, see
MySQL Server Components.

To be usable by the server, the component 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.

To install the validate_password component,
use this statement:

INSTALL COMPONENT 'file://component_validate_password';

Component installation is a one-time operation that need not be
done per server startup. INSTALL
COMPONENT loads the component, and also registers it
in the mysql.component system table to cause
it to be loaded during subsequent server startups.

To uninstall the validate_password component,
use this statement:

UNINSTALL COMPONENT 'file://component_validate_password';

UNINSTALL COMPONENT unloads the
component, and deregisters it from the
mysql.component system table to cause it not
to be loaded during subsequent server startups.