编译安装MariaDB数据库

1、安装编译环境

yum install -y gcc gcc-c++ make libtool bison ncurses-devel zlib-devel automake autoconf cmake

2、编译MariaDB

tar zxvf mariadb-***.tar.gz

cd mariadb-***/

./BUILD/compile-pentium64-max

make install

 官方文档

https://mariadb.com/kb/zh-cn/mariadb/3026/3028/generic-build-instructions/

你可能感兴趣的:(mariaDB)