Created
May 14, 2018 09:41
-
-
Save corerman/b5bdba815d5814582e706dddb4613be7 to your computer and use it in GitHub Desktop.
Manjaro install MariaDB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pacman -S mariadb | |
mysql_install_db --user=mysql --basedir=/usr --datadir=/var/lib/mysql //注意这个datadir,很重要,按照默认操作 | |
systemctl enable mysqld | |
systemctl start mysqld | |
mysql_secure_installation |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This works. Thanks. The guides on the internet are either outdated or pure Arch-specific.