Skip to content

Instantly share code, notes, and snippets.

@corerman
Created May 14, 2018 09:41
Show Gist options
  • Select an option

  • Save corerman/b5bdba815d5814582e706dddb4613be7 to your computer and use it in GitHub Desktop.

Select an option

Save corerman/b5bdba815d5814582e706dddb4613be7 to your computer and use it in GitHub Desktop.
Manjaro install MariaDB
pacman -S mariadb
mysql_install_db --user=mysql --basedir=/usr --datadir=/var/lib/mysql //注意这个datadir,很重要,按照默认操作
systemctl enable mysqld
systemctl start mysqld
mysql_secure_installation
@erayerdin
Copy link
Copy Markdown

This works. Thanks. The guides on the internet are either outdated or pure Arch-specific.

@josnez
Copy link
Copy Markdown

josnez commented Aug 10, 2020

Works fine, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment