Install MariaDB 10.2.12 On Ubuntu / LinuxMint / CentOS 7 / Fedora

MariaDB one of the most popular database used on nowadays and created by the MySQL  developers. It is free and an Opensource, widely ...


MariaDB one of the most popular database used on nowadays and created by the MySQL 

developers.

It is free and an Opensource, widely used by so many users such as Wikipedia, Google, wordpress.com and etc..

It has more numbers of features than MySQL and developed under the General Public License version 2 by the developers

In this tutorial, I will show you how to install the latest version of MariaDB 10.2.12 on Ubuntu 16.04 / LinuxMint 18 / CentOS 7 and Fedora

Installation Steps:

For Ubuntu 16.04 / LinuxMint 18

Step 1: Add the official repository key and MariaDB repo.
sudo apt-get install software-properties-common
sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8
sudo add-apt-repository 'deb [arch=amd64,i386,ppc64el] http://ftp.yz.yamagata-u.ac.jp/pub/dbms/mariadb/repo/10.2/ubuntu xenial main'
Step 2: Update the package source list and install MariaDB server 
sudo apt-get update
sudo apt-get install mariadb-server

While installation it will ask you to set the password 



Step 3: Access MariaDB

MariaDB will start automatically once the installation completed, To access MariaDB use the below command as root followed by password
$ mysql -u root -p

Start/Stop/Enable MariaDB process

sudo systemctl enable mariadb


sudo systemctl status mariadb
sudo systemctl start mariadb
sudo systemctl stop mariadb



Install MariaDB on CentOS 7 / Fedora

Step 1: Create or add the official MariaDB repository under /etc/yum.repos.d/MariaDB.repo

Centos 7 Entry
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.2/centos7-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1

Fedora 26 Entry
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.2/fedora26-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1


Step 2: Update the yum repo and install MariaDB server

For Centos 7
sudo yum install MariaDB-server MariaDB-client
For Fedora 26/27
sudo dnf install MariaDB-server

Step 3: Access MariaDB

MariaDB will start automatically once the installation completed, if not use the below commands to start it To access the MariaDB use the below command as root followed by password
sudo systemctl enable mariadb.service
sudo systemctl status mariadb.service 
sudo systemctl start mariadb.service 
sudo systemctl stop mariadb.service
Connect to MariaDB
$ mysql -u root -p

COMMENTS

Name

0 A.D,1,Android Guide,1,Atom,6,Audacious,3,Audacity,2,Automation,1,Avidemux,1,BleachBit,1,Blender,5,Bluefish,2,Bluehost,12,Bluehost Coupons,24,Brackets,2,Calibre,2,CDROM,1,CentOS,101,CentOS 8,3,CherryTreeEditor,1,Cinnamon,1,Clementine,1,Coupons,19,Darktable,7,Debian,14,digikam,6,Disable nouveau drive,1,Docker,1,Domain coupons,2,Domaincoupons,2,Driver,1,DVDROM,1,editor,3,Fail2Ban,1,Fedora,71,Fedora 26,12,FFmpeg,4,Firefox,29,firefox61,3,FlightGear,1,Foodpanda,1,Fotoxx,3,FreeOffice,1,Frostwire,1,GatewayIP,1,Gimp,5,Git,19,Google Chrome,1,HandBrake,1,Hostgator,2,HostGator 70% OFF Coupon Code,1,HostGator Coupon Code,1,Hostgator Coupons,2,How To,552,HPLIP,15,iPage,1,iPage Coupons,1,Kdump,1,KeePassXC,1,kernel,47,Kodi,11,Krita,6,Libreoffice,12,Linux Mint,7,LinuxMint,301,LVM,1,MariaDB,1,MIUI,2,MKVToolNix,11,Mobile News,2,Musicplayer,1,MyThemeShop,2,MyThemeShop coupons,2,Namecheap,5,Netbeans,1,NFS,1,NFS Server,1,Nuvola,1,NVIDIADriver,21,Oh-My-Zsh,1,OpenOffice,2,openSUSE,1,Opera,2,OS Upgrade,1,OTA Update,1,Pidgin,3,Plasma,2,POCO,1,POCO F1 Update,1,qBittorrent,3,Redhat,31,Redhat 8,1,Redmi Note 7 Pro Update,1,Rhythmbox,1,runlevel,1,SiteGround,9,SiteGround Coupons,7,Skype,6,SMPlayer,2,SparkyLinux,1,SSH,1,Stellarium,3,Sudo,1,Tesla Coupons,1,TeslaThemes,2,Themes,1,TORbrowser,3,Ubuntu,516,uGet,3,Upgrade,2,Video Editor,1,VidMasta,1,Virtualbox,26,Vivaldi Browser,3,VLC,5,VxVM,1,Wavebox,1,Webhosting tutorials,2,Wine,18,Winrar,1,Wireshark,18,
ltr
item
askmetutorials: Install MariaDB 10.2.12 On Ubuntu / LinuxMint / CentOS 7 / Fedora
Install MariaDB 10.2.12 On Ubuntu / LinuxMint / CentOS 7 / Fedora
https://4.bp.blogspot.com/-pECNhRhvJZo/WlBifRyWxyI/AAAAAAAAFSA/LlAya-VJQPICsNnuU4T1NL07WcrUcUM4gCLcBGAs/s320/mariadb-vertical-min.png
https://4.bp.blogspot.com/-pECNhRhvJZo/WlBifRyWxyI/AAAAAAAAFSA/LlAya-VJQPICsNnuU4T1NL07WcrUcUM4gCLcBGAs/s72-c/mariadb-vertical-min.png
askmetutorials
https://www.askmetutorials.com/2018/01/install-mariadb-10212-on-ubuntu.html
https://www.askmetutorials.com/
https://www.askmetutorials.com/
https://www.askmetutorials.com/2018/01/install-mariadb-10212-on-ubuntu.html
true
7830501603203534059
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share to a social network STEP 2: Click the link on your social network Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy Table of Content