Howto mariadb server

From Vidalinux Wiki
Revision as of 19:49, 12 August 2020 by 10.233.90.0 (talk) (Created page with "= install mariadb on archlinux = install the package: pacman -S mariadb create the mariadb datadir: mariadb-install-db --user=mysql --basedir=/usr --datadir=/var/lib/mysql s...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

install mariadb on archlinux

install the package:

pacman -S mariadb

create the mariadb datadir:

mariadb-install-db --user=mysql --basedir=/usr --datadir=/var/lib/mysql

secure your mariadb installation:

mysql_secure_installation

start and enable mariadb service:

systemctl start mariadb
systemctl enable mariadb