• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
sharadchhetri

sharadchhetri

Tutorials On Linux, Unix & Open Source

  • Home
  • Linux Commands
  • Resources
    • Learn Linux
  • My WordPress plugins

Install Mariadb 5.5 on Ubuntu 12.04 LTS

February 4, 2014 by Sharad Chhetri Leave a Comment

In this tutorial we will learn, how to install Mariadb 5.5 on Ubuntu 12.04 LTS. After the Sun Microsystems has been acquired by Oracle, we got a new fork of MySQL i.e MariaDB . MariaDB is led by its original developers. MariaDB has XtraDB storage engine for replacing InnoDB .It also has new storage engine called Aria , that intends to be both a transactional and non-transactional engine perhaps even included in future versions of MySQL .

Description of System

Operating System : Ubuntu 12.04 LTS (Freshly installed )
Arch: x86_64
MariaDB : Version 5.5

Follow the given below steps to install MariaDB 5.5 in Ubuntu 12.04 LTS

Step 1: Login to the Ubuntu 12.04 LTS server and in terminal write the command

sudo apt-get install python-software-properties
sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db
sudo add-apt-repository 'deb http://mirror.jmu.edu/pub/mariadb/repo/5.5/ubuntu precise main'

Step 2: Now update the system and install MariaDB version 5.5

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

Step 3: At the time of installation,on screen you will get message to give Database root password.Give your desired MariaDB root password

mariadb 5.5

MariaDB 5.5

Wait for a few minutes,the MariaDB will be installed

Step 4: After installation get completed, login to MariDB Database Server

mysql -u root -p

Given below is the screenshot after login to MariaDB Database Server

MariaDB

How to start,stop,restart and status of MariaDB


To start the MariaDB Database server

sudo /etc/init.d/mysql start

To stop the MariaDB Database server

sudo /etc/init.d/mysql stop


To restart the MariaDB Database server

sudo /etc/init.d/mysql restart

To get the status of MariaDB Database Server

sudo /etc/init.d/mysql status

Share this:

  • Twitter
  • Facebook
  • More
  • Print
  • Email
  • LinkedIn
  • Reddit
  • Tumblr
  • Pinterest
  • Pocket
  • Telegram
  • WhatsApp
  • Mastodon

Related posts:

  1. How to upgrade Mariadb 5.5 to Mariadb 10.0 on CentOS 7 / RHEL 7
  2. Install MariaDB Server 10.0 on Ubuntu 14.04 LTS ( Trusty Tahr )
  3. Install MariaDB Server on CentOS 7 / RHEL 7
  4. Install MariaDB Server 10 on CentOS 7 and RHEL 7 by using yum
  5. How to install Mariadb 10.4 server on CentOS 8 / RHEL 8
  6. Upgrade Ubuntu 14.04 LTS to Ubuntu 14.04.3 LTS
  7. Install MongoDB server on Ubuntu 12.04 LTS
  8. How to install Apache Web Server on Ubuntu 14.04 LTS (Trusty Tahr)
  9. Install postgresql 9.4 on Ubuntu 14.04 LTS server
  10. How to install KVM on Ubuntu 16.04 LTS Desktop

Filed Under: Database Server, Linux Tagged With: MariaDB

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Our Social Media Presence

  • Facebook
  • GitHub
  • Twitter

Linux Command

What is Linux Internal And External Command

Linux Basic Commands With Examples For Every Beginner

tr command to convert lines to space , tab and vertical tab

smbpasswd command not found on CentOS 7 and RHEL 7

Solution : semanage command not found

Unix / Linux : How to print duplicate lines from file

More Posts from this Category

You Might Like These Articles!

simplecodesyntax wordpress plugin

SimpleCodeSyntax : My Another WordPress Plugin

Install Nginx

How To Install Nginx On Ubuntu 22.04 LTS

Install Latest Git package in Ubuntu Operating System

How To Always Install Latest Git Package In Ubuntu Operating System

Bash script for installing VirtualBox on Ubuntu 22.04 LTS Desktop

Install VirtualBox On Ubuntu 22.04 LTS Desktop (Bash Script)

libfuse

dlopen(): error loading libfuse.so.2 – Got Error On Ubuntu

Failed to open/create the internal network

VirtualBox Error: Failed to open/create the internal network

Always Useful Tips And Tricks

How to encode and decode the strings with base64

find command to search keyword in files recursively in linux

Recover Linux Grub Password in linux rescue mode CentOS/Red Hat

sed: -e expression #1, char 24: Invalid range end

How to convert rpm file into deb file

rsync all files,hidden files,symlinks,hardlinks to remotes Linux Server

How to use grep command to get fixed pattern or exact keyword

Explore 90+ Article On "Linux Tips And Tricks"

Copyright © 2023 ยท
The material in this site cannot be republished either online or offline, without our permission.
Proudly Blogging From Bharat.

  • Contact
  • About Me
  • My WordPress plugins
  • Privacy Policy