一.打开mac控制台 $ brew install mysql 二.启动mysql服务 $ mysql.server start 三.初始化mysql配置 1 rainMacBook-Pro:~ comet$ mysql_secure_installation 2 3 Securing the MySQL server deployment. 4 5 Connecting to MySQL using a blank password. 6 7 VALIDATE PASSWORD PLUGIN…
问题 在 Mac 上通过 brew install mysql 安装的的MySQL使用基本MySQL命令重启会失败: mysql.server stop mysql.server start mysql.server restart 输出显示会提示成功,但是使用的时候会报错,不能使用. ERROR 2002 (HY000): Can not connect to local MySQL server through socket '/tmp/mysql.sock' (2) 解决方法 启动使用My…
mac 安装brew /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" mac安装expect(需要先安装brew,没有安装的话看上边) brew install expect mac一键登录服务器脚本 set user "zhaohh" set host "123.126.105.34" set p…
问题: -bash: telnet: command not found -bash: brew: command not found 解决: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" brew install telnet 参考: brew: command not found 转:https://blog.csdn.net/u0…
Error: Another active Homebrew update process is already in progress.Please wait for it to finish or terminate it to continue. 解决:rm -rf /usr/local/var/homebrew/locks…
现在安装brew,一会报这个错,一会儿报那个错,上网查了很多教程,用了很多时间都是不可以,电脑开VPN翻墙也不行. Warning: The Ruby Homebrew installer is now deprecated and has been rewritten in Bash. Please migrate to the following command: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/H…