How to install oracle mariaBD in ubuntu 14.04 ? please provide me step by step method


Step 1: Add MariaDB Apt-get Repositories

sudo apt-get install software-properties-common
sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db

For Ubuntu 14.04 “trusty”

sudo add-apt-repository 'deb http://ftp.kaist.ac.kr/mariadb/repo/5.5/ubuntu trusty main'

For Ubuntu 12.04 LTS “precise”

sudo add-apt-repository 'deb http://ftp.kaist.ac.kr/mariadb/repo/5.5/ubuntu precise main'

Step 2: Install MariaDB in Ubuntu

sudo apt-get update
sudo apt-get install mariadb-server

While installing MariaDB using above command installer will prompt for MariaDB root account password twice like below snapshot. oracle mariadb account password

Step 3: Login To MariaDB

After completing installation you can connect to MariaDB using following command.

mysql -u root -p

Enter password:<enter password>


  • You don't need to add a repository for 14.04. It's available in the official repositories: packages.ubuntu.com/… – muru Dec 2 '14 at 5:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.