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安裝、啟動扶平、初始化帆离、完整卸載Mariadb(MySQL)一、 安裝Homebrew(已經(jīng)安裝的可以忽略) 在控制臺運行: Homebrew的介紹這里就不敘述了结澄,跟apt哥谷、yum一樣理解(或者你當(dāng)做是一個“Apple Store”、...