MariaDB Admin

Installation

Server Installation

Client Installation

Prerequisites

  1. Verify that the system gcc and cmake are up-to-date.

Procedure


% cd /src/util
% mv /tmp/mariadb-5.5.32.tar.gz .
% gunzip mariadb-5.5.32.tar.gz
% tar -xvf mariadb-5.5.32.tar
% cd mariadb-5.5.32

[Make sure you compile with the system gcc]

mariadb-5.5.32% setenv PATH /usr/bin:${PATH}
mariadb-5.5.32% setenv LD_LIBRARY_PATH /usr/lib:${LD_LIBRARY_PATH}

[Are we installing on a Pentium or AMD processor?]

% cat /proc/cpuinfo | grep 'model name'
model name      :                   Intel(R) Xeon(TM) CPU 3.20GHz
model name      :                   Intel(R) Xeon(TM) CPU 3.20GHz
model name      :                   Intel(R) Xeon(TM) CPU 3.20GHz
model name      :                   Intel(R) Xeon(TM) CPU 3.20GHz

Got it. Pentium.

mariadb-5.5.32% ./BUILD/compile-pentium64-max --prefix=/util/mariadb-5.5.32

[But how do we build client only without the whole server apparatus?]

mariadb-5.5.32% sudo make install clean
mariadb-5.5.32% cd /util
/util % sudo rm mariadb
/util % sudo ln -s mariadb-5.5.32 mariadb

References

  1. https://kb.askmonty.org/en/compiling-mariadb-from-source/