MariaDB
From Onset Developer Wiki
__EDIT_ME__
Compiling from source
Minimum requirements
- CMake 3.1 (https://cmake.org)
- Boost 1.69 (https://boost.org)
- MariaDB C/C++ Connector (https://mariadb.com/downloads/#connectors)
- Visual Studio 2017 (Windows) or GCC 7 (Linux)
Windows
git clone https://github.com/BlueMountainsIO/PluginMariaDB.git
cd PluginMariaDB
cmake -DMARIADBCAPI_INCLUDE_DIR="C:\Program Files\MariaDB\MariaDB Connector C 64-bit\include" -DBOOST_ROOT="D:\Lib\boost_1_70_0" .
Open the generated mariadb.sln file and select "Release" as build target. Right click on the solution and hit rebuild.
The .dll will be under PluginMariaDB\src\Release.
Ubuntu
apt-get install libmariadb-dev
git clone https://github.com/BlueMountainsIO/PluginMariaDB.git
cd PluginMariaDB
cmake -DBOOST_ROOT=/usr/include/boost_1_70_0 .
make
For static builds you can do:
cmake -DBOOST_ROOT=/usr/include/boost_1_70_0 -DBUILD_STATIC=ON .