Difference between revisions of "MariaDB"

From Indie IT Wiki
Line 9: Line 9:
 
  sudo -i
 
  sudo -i
 
  apt-get install software-properties-common dirmngr apt-transport-https
 
  apt-get install software-properties-common dirmngr apt-transport-https
  wget --no-check-certificate -qO - https://mariadb.org/mariadb_release_signing_key.asc | apt-key add -
+
  wget --no-check-certificate -qO - <nowiki>https://mariadb.org/mariadb_release_signing_key.asc</nowiki> | apt-key add -
 
  sudo add-apt-repository 'deb [arch=amd64] <nowiki>https://mirrors.ukfast.co.uk/sites/mariadb/repo/10.6/ubuntu</nowiki> focal main'
 
  sudo add-apt-repository 'deb [arch=amd64] <nowiki>https://mirrors.ukfast.co.uk/sites/mariadb/repo/10.6/ubuntu</nowiki> focal main'
  

Revision as of 09:09, 6 October 2021

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 -i
apt-get install software-properties-common dirmngr apt-transport-https
wget --no-check-certificate -qO - https://mariadb.org/mariadb_release_signing_key.asc | apt-key add -
sudo add-apt-repository 'deb [arch=amd64] https://mirrors.ukfast.co.uk/sites/mariadb/repo/10.6/ubuntu focal main'

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

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