cuiyang@cuiyangdeMacBook-Air ~ % sudo mysql_secure_installation
Password:
NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
In order to log into MariaDB to secure it, we'll need the current
password for the root user. If you've just installed MariaDB, and
haven't set the root password yet, you should just press enter here.
Enter current password for root (enter for none):
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Enter current password for root (enter for none):
這一步一直不行或杠,敲回車也不行,大佬這咋整
MAC安裝灶伊、啟動(dòng)、初始化寒跳、完整卸載Mariadb(MySQL)一聘萨、 安裝Homebrew(已經(jīng)安裝的可以忽略) 在控制臺(tái)運(yùn)行: Homebrew的介紹這里就不敘述了,跟apt童太、yum一樣理解(或者你當(dāng)做是一個(gè)“Apple Store”米辐、...