Difference between revisions of "MariaDB"

From Indie IT Wiki
 
Line 8: Line 8:
  
 
  sudo apt-get install apt-transport-https curl
 
  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 curl -o /etc/apt/trusted.gpg.d/mariadb_release_signing_key.asc '<nowiki>https://mariadb.org/mariadb_release_signing_key.asc</nowiki>'
  sudo sh -c "echo 'deb https://mirrors.ircam.fr/pub/mariadb/repo/10.6/ubuntu focal main' >>/etc/apt/sources.list"
+
  sudo sh -c "echo 'deb <nowiki>https://mirrors.ircam.fr/pub/mariadb/repo/10.6/ubuntu</nowiki> focal main' >>/etc/apt/sources.list"
  
 
Once the key is imported and the repository added you can install MariaDB from the MariaDB repository with:
 
Once the key is imported and the repository added you can install MariaDB from the MariaDB repository with:

Latest revision as of 19:06, 8 February 2023

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