MariaDB /etc/mysql/mariadb.conf.d/provider_lz4.cnf

Original 📋 Ubuntu 24.04 LTS (Noble Numbat) 3 lines

Works On

Viewing:
Ubuntu 24.04 LTS (Noble Numbat)
Same on:
Debian 12 (Bookworm) Debian 13 (Trixie)
Other versions:

Details

Size
3 lines
MD5
5dc12c9891064bc1e8a2667e1f13507f
SHA256
f310cf21f0f8950a2f4d34f71112702391f41af7d8b87c20a3435367817dec9e
/etc/mysql/mariadb.conf.d/provider_lz4.cnf
[server]
plugin_load_add=provider_lz4
provider_lz4=force_plus_permanent

Copy & Paste

curl:
curl https://exampleconfig.com/api/v1/config/original/5dc12c9891064bc1e8a2667e1f13507f?hint=provider_lz4.cnf
wget:
wget -O provider_lz4.cnf https://exampleconfig.com/api/v1/config/original/5dc12c9891064bc1e8a2667e1f13507f?hint=provider_lz4.cnf

For AI Agents

<prompt><role>DevOps agent</role><source url='https://exampleconfig.com/api/v1/config/original/5dc12c9891064bc1e8a2667e1f13507f?hint=provider_lz4.cnf' /><config><app>MariaDB</app><os>Ubuntu 24.04 LTS (Noble Numbat)</os><location>/etc/mysql/mariadb.conf.d/provider_lz4.cnf</location><lines>3</lines><md5>5dc12c9891064bc1e8a2667e1f13507f</md5><sha256>f310cf21f0f8950a2f4d34f71112702391f41af7d8b87c20a3435367817dec9e</sha256></config></prompt>

Paste into Claude, ChatGPT, or any AI assistant.

Install MariaDB

Alpine Linux

sudo apk add mariadb

Debian

sudo apt update && sudo apt install mariadb-server

Red Hat Enterprise Linux

sudo yum install mariadb-server

Ubuntu

sudo apt update && sudo apt install mariadb-server

File Location

File Path
/etc/mysql/mariadb.conf.d/provider_lz4.cnf
Directory
/etc/mysql/mariadb.conf.d/
Significance
System-wide configuration directory
Description
Files in /etc/ contain system-wide configuration settings that affect all users.

FAQ

When should I use this provider_lz4.cnf?

Use it to restore a missing default, confirm what shipped, or diff against your current MariaDB config.

How do I restore MariaDB defaults?

Download the file, back up the current one in /etc/mysql/mariadb.conf.d/provider_lz4.cnf, replace it, then reload or restart MariaDB.

Is provider_lz4.cnf safe for production?

It is the vendor default for Ubuntu 24.04 LTS (Noble Numbat). Treat it as a baseline and review security and performance settings before production use.

How does this differ from other OS versions?

Defaults vary by distro and version. This copy matches Ubuntu 24.04 LTS (Noble Numbat).

Can I use this for MariaDB troubleshooting?

Yes. Diff it against yours to find drift, then restore only the sections you need.