Saminnet-Search Article Wiki Forum Piwigo SNS Cloud vtiger Sugar
MariaDB debian

MariaDB debian

This article will help you to install MariaDB 10.0 in Ubuntu 14.10, 14.04 LTS and 12.04 LTS and Other Systems using apt-get package manager.

Step 1: Add MariaDB Apt-get Repositories

First we need to add MariaDB apt-get repository in our system. Before adding repository make sure you have required package install and also add apt-get key for Mariadb repository using following command

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

Now use one of followings option as per your Ubuntu version. To check your Ubuntu system version run 窶詫sb-release -a窶 command.

For Ubuntu 14.10 窶忖topic窶

$ sudo add-apt-repository 'deb http://ftp.kaist.ac.kr/mariadb/repo/10.0/ubuntu utopic main'

For Ubuntu 14.04 窶徼rusty窶

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

For Ubuntu 12.04 LTS 窶徘recise窶

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

For Other Ubuntu Versions

For other versions of Ubuntu. Click here to find suitable repository for your system.

Step 2: Install MariaDB in Ubuntu

After adding repository in your system and use following commands to install MariaDB on your system.

$ 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.

mariadb-10-ubuntu

Step 3: Login To MariaDB

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

# mysql -u root -p 

Enter password:
Welcome to the MariaDB monitor.  Commands end with ; or g.
Your MariaDB connection id is 42
Server version: 10.0.15-MariaDB-1~precise-log mariadb.org binary distribution

Copyright (c) 2000, 2014, Oracle, SkySQL Ab and others.

Type 'help;' or 'h' for help. Type 'c' to clear the current input statement.

MariaDB [(none)]>

Step 4: Start/Stop MariaDB Service

Some times we need to stop or start MariaDB service. Use the following commands to stop/stop it.

$ sudo /etc/init.d/mysql stop
$ sudo /etc/init.d/mysql start

Comments   

 
0 #1 Guest 2019-05-02 20:53
Do you have a spam problem on this site; I also am a blogger,
and I was curious about your situation; many of us have created some nice practices and we are looking to swap techniques with
other folks, why not shoot me an e-mail if interested.

Here is my website :: gamefly free
trial
Quote
 

Articles by Date

Category Database

TweetTweet Share on LinkedInShare on LinkedIn Share on Google+Google+ Submit to RedditReddit Publish on WordPress WordPress Send emailSend email