Difference between revisions of "MariaDB"

From Indie IT Wiki
imported>Plittlefield
 
Line 16: Line 16:
 
  sudo apt install mariadb-server
 
  sudo apt install mariadb-server
 
  mariadb --version
 
  mariadb --version
 +
sudo mysql_secure_installation
  
 
[[Category:Linux]]
 
[[Category:Linux]]
 
[[Category:Software]]
 
[[Category:Software]]

Revision as of 14:51, 25 June 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.5 from the MariaDB repository on your Ubuntu system:

sudo apt-get install software-properties-common
sudo apt-key adv --fetch-keys 'https://mariadb.org/mariadb_release_signing_key.asc'
sudo add-apt-repository 'deb [arch=amd64] https://mirrors.ukfast.co.uk/sites/mariadb/repo/10.5/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