Programming/MariaDB/Setup: Difference between revisions

From Dev Wiki
Jump to navigation Jump to search
(Create page)
 
m (Brodriguez moved page MariaDB/Setup to Programming/MariaDB/Setup)
(No difference)

Revision as of 08:20, 20 November 2020

Installation

Arch Linux

pacman -Syu mariadb --noconfirm
sudo mariadb-install-db --user=mysql --basedir=/usr --datadir=/var/lib/mysql
systemctl start mariadb.service
systemctl enable mariadb.service 

Ubuntu

Basic installation can be performed with:

sudo apt update
sudo apt install mariadb-server
sudo systemctl start mariadb.service
sudo systemctl enable mariadb.service