240 发简信
IP属地:山东
  • 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(已经安装的可以忽略) 在控制台运行: Homebrew的介绍这里就不叙述了,跟apt、yum一样理解(或者你当做是一个“Apple Store”、...