Pacman # - S MariaDB # MariaDB -install-DB MySQL --basedir --user = = / usr --datadir = / var / lib / MySQL # / usr / bin / --datadir the mysqld_safe = ' / var / lib / MySQL ' # systemctl Start mysqld.service # mysql_secure_installation
*** Here is prompted, enter the default like, note that there is a place to change the root password, do not directly enter.
# Systemctl enable mysqld