MacOS通过brew安装MariaDB

MacOS通过brew安装MariaDB

brew install mariadb

sudo brew services start mariadb

sudo chown -R mysql:mysql /usr/local/var/mysql/

ls /tmp –a

mysql –uroot

cd /usr/local/Cellar/mariadb/10.2.7_1/

mysql_secure_installation

/Users/dongjiajun/Desktop/屏幕快照 2017-08-14 07.43.39.png

One thought on “MacOS通过brew安装MariaDB

  1. brew install mariadb
    sudo brew services start mariadb
    sudo chown -R mysql:mysql /usr/local/var/mysql/
    ls /tmp –a
    mysql –uroot
    cd /usr/local/Cellar/mariadb/10.2.7_1/
    mysql_secure_installation

发表评论

电子邮件地址不会被公开。