![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mysql
昵称丢了
这个作者很懒,什么都没留下…
展开
-
mac下重启mysql服务报错
MySQL服务操作指令# 启动sudo /usr/local/mysql/support-files/mysql.server start# 停止sudo /usr/local/mysql/support-files/mysql.server stop# 重启sudo /usr/local/mysql/support-files/mysql.server restart重启报错如下ERROR! MySQL server PID file could not be found!.原创 2021-02-04 17:28:24 · 346 阅读 · 0 评论 -
macOS下修改mysql的root密码
清空root账号密码停止运行mysql系统偏好设置->MySQL->Stop MySQL Server打开终端,启动mysql安全模式并跳过权限表验证# 通过sudo执行命令时,若需要输入密码,此处不要采用后台执行sudo mysqld_safe --skip-grant-tables重新打开一个终端输入mysql,进入mysql交互界面输入命令,清空root用户的密码use mysql;update user set authentication_strin.原创 2021-01-27 14:12:37 · 256 阅读 · 0 评论