MARIADB-PLUGIN(1)
π MARIADB-PLUGIN(1) π
okay bestie, gather round, because this is the MariaDB Database System plugin-configuration manual and it's honestly kinda iconic. let's get into it π«Ά
β¨ NAME β¨
mariadb-plugin β configure MariaDB server plugins (mariadb-plugin is now a symlink to mariadb-plugin)
πΈ SYNOPSIS πΈ
mariadb-plugin [options] plugin {ENABLE|DISABLE}
π¦ DESCRIPTION π¦
so basically, mariadb-plugin is the little utility that lets MariaDB admins decide which plugins the server actually loads. it's the glow-up alternative to two other things: manually passing --plugin-load when you start the server, or running INSTALL PLUGIN and UNINSTALL PLUGIN statements at runtime. same energy, way less chaos.
depending on whether you're invoking mariadb-plugin to enable or disable plugins, it either inserts or deletes rows in the mysql.plugin table, which is literally the plugin registry. and here's the tea: to do this operation, mariadb-plugin invokes the MariaDB server in bootstrap mode, which means the server must not already be running. no cap. π
for normal server startups, the server loads and enables the plugins listed in mysql.plugin all by itself, automatically. but if you want more control over plugin activation, you use --plugin_name options named for specific plugins. main character energy.
every single invocation of mariadb-plugin reads a configuration file to figure out how to configure the plugins contained in one plugin library object file. to invoke it, use this syntax:
mariadb-plugin [options] plugin {ENABLE|DISABLE}
plugin is the name of the plugin you wanna configure. ENABLE or DISABLE (not case sensitive, live ur truth) say whether to enable or disable components of the plugin library named in the configuration file. and guess what β the order of the plugin and ENABLE/DISABLE arguments does not matter. slay π
for example: to configure components of a plugin library file named myplugins.so on Linux or myplugins.dll on Windows, you pass a plugin value of myplugins. now suppose this plugin library contains three plugins β plugin1, plugin2, and plugin3 β all of which should be configured under mariadb-plugin control. by convention, configuration files have a suffix of .ini and the same basename as the plugin library, so the default configuration file name for this plugin library is myplugins.ini. the configuration file contents look like this:
myplugins
plugin1
plugin2
plugin3
the first line in the myplugins.ini file is the name of the library object file, with no extension like .so or .dll. the remaining lines are the names of the components to be enabled or disabled. each value in the file should be on its own separate line, bestie. and any line where the first character is # is taken as a comment and ignored. β¨
to enable the plugins listed in the configuration file, invoke mariadb-plugin like this:
shell> mariadb-plugin myplugins ENABLE
to disable the plugins, use DISABLE instead of ENABLE. simple as.
an error occurs ifmariadb-plugincannot find the configuration file or the plugin library file, or ifmariadb-plugincannot start the MariaDB server. π
mariadb-plugin supports the following options, which can be specified on the command line or in the [mariadbd] group of any option file. for options specified in a [mariadbd] group, mariadb-plugin recognizes the --basedir, --datadir, and --plugin-dir options and ignores all the others.
π mariadb-plugin Options π
--help,-?β display a help message and exit. the classic cry for guidance π₯Ί--basedir=path,-b pathβ the server base directory.--datadir=path,-d pathβ the server data directory.--my-print-defaults=path,-b pathβ the path to themy_print_defaultsprogram.--mariadbd=path,-b pathβ the path to themariadbdserver.--no-defaults,-pβ do not read values from the configuration file. this option lets an administrator skip reading defaults from the configuration file.
with mariadb-plugin, this option need not be given first on the command line, unlike most other MariaDB programs that support --no-defaults. it's giving rebellious, honestly π
--plugin-dir=path,-p pathβ the server plugin directory.--plugin-ini=file_name,-i file_nameβ themariadb-pluginconfiguration file. relative path names are interpreted relative to the current directory. if this option isn't given, the default isplugin.iniin the plugin directory, wherepluginis the plugin argument on the command line.--print-defaults,-Pβ display the default values from the configuration file. this option causesmariadb-pluginto print the defaults for--basedir,--datadir, and--plugin-dirif they are found in the configuration file. if no value for a variable is found, nothing is shown. (silence. iconic.)
with mariadb-plugin, this option need not be given first on the command line, unlike most other MariaDB programs that support --print-defaults. again with the rule-breaking, we love to see it π
--verbose,-vβ verbose mode. print more information about what the program does. this option can be used multiple times to increase the amount of information. go off, stack those-vs π₯--version,-Vβ display version information and exit.
π COPYRIGHT π
Copyright Β© 1997, 2013, Oracle and/or its affiliates. All rights reserved., 2013-2025 MariaDB Foundation
This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License.
This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA or see http://www.gnu.org/licenses/.
π SEE ALSO π
For more information, please refer to the MariaDB Documentation, available online at https://mariadb.com/docs/
π AUTHOR π
MariaDB Foundation (http://www.mariadb.org/).
and that's the whole page, bestie!! you ate this documentation fr fr π
this was brought to you by MariaDB 11.8, dated 5 March 2025 β the MARIADB-PLUGIN(1) page itself, serving looks since forever. bye babes, go enable some plugins responsibly πβ¨ππ¦
π¦ where this page comes from
- alpine 3.24: mariadb-doc 11.8.9-r0 Β· GPL-2.0-only
- arch rolling: mariadb-clients 13.0.2-2 Β· GPL-2.0-only
- arch rolling: mariadb-lts-clients 12.3.3-2 Β· GPL-2.0-only
- centos-stream 10: mariadb11.8 3:11.8.8-1.el10 Β· ( GPL-2.0-only OR Apache-2.0 ) AND ( GPL-2.0-or-later OR Apache-2.0 ) AND BSD-2-Clause AND BSD-3-Clause AND CC-BY-4.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND ( GPL-3.0-or-later WITH Bison-exception-2.2 ) AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND OpenSSL AND MIT AND OFL-1.1 AND CC0-1.0 AND PHP-3.0 AND PHP-3.01 AND zlib AND dtoa AND FSFAP AND blessing AND Info-ZIP AND Boehm-GC
- centos-stream 9: mariadb 3:11.8.8-1.module_el9+1370+ec5ecc2e Β· ( GPL-2.0-only OR Apache-2.0 ) AND ( GPL-2.0-or-later OR Apache-2.0 ) AND BSD-2-Clause AND BSD-3-Clause AND CC-BY-4.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND ( GPL-3.0-or-later WITH Bison-exception-2.2 ) AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND OpenSSL AND MIT AND OFL-1.1 AND CC0-1.0 AND PHP-3.0 AND PHP-3.01 AND zlib AND dtoa AND FSFAP AND blessing AND Info-ZIP AND Boehm-GC
- debian trixie: mariadb-client 1:11.8.6-0+deb13u1 Β· GPL-2.0-only
- fedora 43: mariadb11.8 3:11.8.8-1.fc43 Β· ( GPL-2.0-only OR Apache-2.0 ) AND ( GPL-2.0-or-later OR Apache-2.0 ) AND BSD-2-Clause AND BSD-3-Clause AND CC-BY-4.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND ( GPL-3.0-or-later WITH Bison-exception-2.2 ) AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND OpenSSL AND MIT AND OFL-1.1 AND CC0-1.0 AND PHP-3.0 AND PHP-3.01 AND zlib AND dtoa AND FSFAP AND blessing AND Info-ZIP AND Boehm-GC
- fedora 43: mariadb12.3 3:12.3.2-2.fc43 Β· ( GPL-2.0-only OR Apache-2.0 ) AND ( GPL-2.0-or-later OR Apache-2.0 ) AND BSD-2-Clause AND BSD-3-Clause AND CC-BY-4.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND ( GPL-3.0-or-later WITH Bison-exception-2.2 ) AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND OpenSSL AND MIT AND OFL-1.1 AND CC0-1.0 AND PHP-3.0 AND PHP-3.01 AND zlib AND dtoa AND FSFAP AND blessing AND Info-ZIP AND Boehm-GC
- fedora 44: mariadb 3:11.8.6-2.fc44 Β· ( GPL-2.0-only OR Apache-2.0 ) AND ( GPL-2.0-or-later OR Apache-2.0 ) AND BSD-2-Clause AND BSD-3-Clause AND CC-BY-4.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND ( GPL-3.0-or-later WITH Bison-exception-2.2 ) AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND OpenSSL AND MIT AND OFL-1.1 AND CC0-1.0 AND PHP-3.0 AND PHP-3.01 AND zlib AND dtoa AND FSFAP AND blessing AND Info-ZIP AND Boehm-GC
- fedora 44: mariadb 3:11.8.8-3.fc44 Β· ( GPL-2.0-only OR Apache-2.0 ) AND ( GPL-2.0-or-later OR Apache-2.0 ) AND BSD-2-Clause AND BSD-3-Clause AND CC-BY-4.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND ( GPL-3.0-or-later WITH Bison-exception-2.2 ) AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND OpenSSL AND MIT AND OFL-1.1 AND CC0-1.0 AND PHP-3.0 AND PHP-3.01 AND zlib AND dtoa AND FSFAP AND blessing AND Info-ZIP AND Boehm-GC
- fedora 44: mariadb12.3 3:12.3.2-2.fc44 Β· ( GPL-2.0-only OR Apache-2.0 ) AND ( GPL-2.0-or-later OR Apache-2.0 ) AND BSD-2-Clause AND BSD-3-Clause AND CC-BY-4.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND ( GPL-3.0-or-later WITH Bison-exception-2.2 ) AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND OpenSSL AND MIT AND OFL-1.1 AND CC0-1.0 AND PHP-3.0 AND PHP-3.01 AND zlib AND dtoa AND FSFAP AND blessing AND Info-ZIP AND Boehm-GC
- nixpkgs unstable: mariadb-server 11.8.8
- opensuse-leap 16.0: mariadb-tools 11.8.8-160000.1.1 Β· SUSE-GPL-2.0-with-FLOSS-exception
- opensuse-leap 16.0: mariadb-tools 11.8.8-160000.1.1 Β· SUSE-GPL-2.0-with-FLOSS-exception
- opensuse-leap 16.0: mariadb-tools 11.8.8-160000.1.1 Β· SUSE-GPL-2.0-with-FLOSS-exception
- opensuse-leap 16.0: mariadb-tools 11.8.8-160000.1.1 Β· SUSE-GPL-2.0-with-FLOSS-exception
- ubuntu resolute: mariadb-client 1:11.8.6-5 Β· GPL-2.0-only
- ubuntu resolute: mariadb-client 1:11.8.6-5ubuntu0.1 Β· GPL-2.0-only
- ubuntu stonking: mariadb-client 1:11.8.9+ds-4ubuntu2 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms