arrow-left

All pages
gitbookPowered by GitBook
1 of 1

Loading...

Building MariaDB From Source Using musl-based GNU/Linux

Guide for compiling MariaDB on Alpine Linux or other musl-based systems, noting limitations like TokuDB support.

hashtag
Instructions on compiling MariaDB on musl-based operating systems (Alpine)

The instructions on this page will help you compile MariaDB from source. Links to more complete instructions for specific platforms can be found on the source page.

  • First, .

  • Next, .

hashtag
Using cmake

and above is compiled using cmake. You can configure your build simply by running cmake using special option, i.e.

To build and install MariaDB after running cmake use

Note that building with MariaDB this way will disable tokuDB, till tokuDB becomes fully supported on musl.

This page is licensed: CC BY-SA / Gnu FDL

get a copy of the MariaDB source
prepare your system to be able to compile the source
cmake . -DWITHOUT_TOKUDB=1
make
sudo make install
spinner
MariaDB 10.1