This short tutorial by nixCraft shows us how to install Mariadb on FreeBSD 10.

Fig.01: FreeBSD 10 Mariadb Server Install CommandType the following command to install MariaDB v5.5 on a FreeBSD 10 server or VPS/cloud server:

 
cd /usr/ports/databases/mariadb-server/ && make install clean
 
## or ##
pkg install databases/mariadb55-server

Outputs:

Original post: http://www.cyberciti.biz/faq/how-to-install-mariadb-databases-on-a-freebsd-v10-unix-server/mariadb-server-install/