Sponsored Link
Install MariaDB on Ubuntu 14.04 (Trusty) Server
Open the terminal and run the following commands
For marisDB 10.0
sudo apt-get install software-properties-common
sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db
sudo add-apt-repository ‘deb http://mirror.stshosting.co.uk/mariadb/repo/10.0/ubuntu trusty main'
Once the key is imported and the repository added you can install MariaDB with the following commands
sudo apt-get update
sudo apt-get install mariadb-server
For marisDB 5.5
sudo apt-get install software-properties-common
sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db
sudo add-apt-repository ‘deb http://mirror.stshosting.co.uk/mariadb/repo/5.5/ubuntu trusty main'
Once the key is imported and the repository added you can install MariaDB with the following commands
sudo apt-get update
sudo apt-get install mariadb-server
At the time of installation mariadb would ask for the password of user root. Enter the password and make sure not to forget.
After completing the installation you can check the version using the following command from your terminal
mysql --v
For more details you can check MariaDB documentation