Installation on MacOS, Linux and Windows

Installation on MacOS

Using Homebrew

  1. Once you install Homebrew, execute the below command to install MariaDB
brew install mariadb
  1. Start Maridb Server
mysql.server start

Installation on Linux

  • Download the required version from MariaDB Downloads
  • MariaDB offers packages for RedHat/CentOS/Fedora and Debian/Ubuntu
  • openSUSE, Arch Linux, Mageia, Mint, Slackware distributions already include MariaDB package in their repositories.

How to install

  1. Login as root
  2. Navigate to MariaDB directory and import GnuPG signing key
    sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xcbcb082a1bb943db
    
  3. Add MariaDB to sources.list file and add the below code in the file
    sudo add-apt-repository 'deb http://ftp.osuosl.org/pub/mariadb/repo/5.5/ubuntuprecise main'
    
  4. Refresh the system using below command
    sudo apt-get update
    
  5. Install MariaDB
    sudo apt-get install mariadb-server
    

Installation on Windows

  • Installation on windows is much easier using MSI file. Download the required version from MariaDB Downloads
  • Just double click on the file and the setup will guide you through the installation and any settings if required.