美文网首页
mac安装mysql

mac安装mysql

作者: 爱喝冰红茶 | 来源:发表于2017-08-02 19:10 被阅读0次
  1. mysql下载地址 https://dev.mysql.com/downloads/mysql/
  2. 选择安装版
image.png
  1. 直接下载
image.png
  1. 安装
image.png
image.png
image.png
image.png
  1. 打开 mysql 服务

系统偏好设置->mysql


image.png

6.打开mysql服务


image.png
  1. 连接mysql

执行 mysql -u root -p,输入安装时给的密码,进入mysql控制台

  1. 修改root用户密码
    SET PASSWORD FOR 'root'@'localhost' = PASSWORD('newpassword');

相关文章

网友评论

      本文标题:mac安装mysql

      本文链接:https://www.haomeiwen.com/subject/zjpylxtx.html