MariaDB

From Indie IT Wiki
Revision as of 19:05, 8 February 2023 by Plittlefield (talk | contribs)

MariaDB is a community-developed, commercially supported fork of the MySQL relational database management system, intended to remain free and open-source software under the GNU General Public License. Development is led by some of the original developers of MySQL, who forked it due to concerns over its acquisition by Oracle Corporation in 2009.

Installation

https://downloads.mariadb.org/mariadb/repositories/

Here are the commands to run to install MariaDB 10.6 from the MariaDB repository on your Ubuntu system:

sudo apt-get install apt-transport-https curl
sudo curl -o /etc/apt/trusted.gpg.d/mariadb_release_signing_key.asc 'https://mariadb.org/mariadb_release_signing_key.asc'
sudo sh -c "echo 'deb https://mirrors.ircam.fr/pub/mariadb/repo/10.6/ubuntu focal main' >>/etc/apt/sources.list"

Once the key is imported and the repository added you can install MariaDB from the MariaDB repository with:

sudo apt update
sudo apt install mariadb-server
mariadb --version
sudo mysql_secure_installation