目录

使用brew安装mariadb

目录

brew install mariadb

To connect: mysql -uroot

To have launchd start mariadb now and restart at login:

brew services start mariadb

Or, if you don’t want/need a background service you can just run:

mysql.server start