Difference between revisions of "MariaDB"

From Indie IT Wiki
 
(4 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
https://downloads.mariadb.org/mariadb/repositories/
 
https://downloads.mariadb.org/mariadb/repositories/
  
Here are the commands to run to install MariaDB 10.5 from the MariaDB repository on your Ubuntu system:
+
Here are the commands to run to install MariaDB 10.6 from the MariaDB repository on your Ubuntu system:
  
  sudo apt-get install software-properties-common
+
  sudo apt-get install apt-transport-https curl
  sudo apt-key adv --fetch-keys '<nowiki>https://mariadb.org/mariadb_release_signing_key.asc</nowiki>'
+
  sudo curl -o /etc/apt/trusted.gpg.d/mariadb_release_signing_key.asc '<nowiki>https://mariadb.org/mariadb_release_signing_key.asc</nowiki>'
  sudo add-apt-repository 'deb [arch=amd64] <nowiki>https://mirrors.ukfast.co.uk/sites/mariadb/repo/10.5/ubuntu</nowiki> focal main'
+
  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 10.5 from the MariaDB repository with:
+
Once the key is imported and the repository added you can install MariaDB from the MariaDB repository with:
  
 
  sudo apt update
 
  sudo apt update

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