MacOS通过brew安装MariaDB

  • A+
所属分类:计算机

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

MacOS通过brew安装MariaDB

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

目前评论:1   其中:访客  1   博主  0

    • ag

      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