Skip to content

Install js_lang component

The plugin_dir system variable defines the component library location. If needed, at server startup, set the plugin_dir variable.

To install the js_lang component, run the following command:

mysql> INSTALL COMPONENT 'file://component_js_lang';

If you uninstall the component, you may need to restart the server before a reinstall.

When you install component_js_lang, you get a new global privilege called CREATE_JS_ROUTINE. This privilege lets you create JS routines within the database.

Find more information in INSTALL COMPONENT.

Get expert help

If you need assistance, visit the community forum for comprehensive and free database knowledge, or contact our Percona Database Experts for professional support and services.


Last update: 2025-01-10