一、MAC Mysql安装

1、下载dmg安装

从http://dev.mysql.com/downloads/mysql/下载dmg安装

二、Mysql密码修改

1、通过mysql -uroot -ppwd进入到命令行,会发现任何操作都会出现ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement。也就是必须立刻修改密码。

修改密码方法:

ALTER USER 'root'@'localhost' IDENTIFIED BY 'pwd' ;

update mysql.user set authentication_string=PASSWORD('pwd') where user='root' and host='localhost';

flush privileges;

修改完毕

最新文章

  1. Photoshop 裁剪图片
  2. 区分元素特性attribute和对象属性property
  3. 【leetcode❤python】 303. Range Sum Query - Immutable
  4. 浮动层-JS兼容IE6
  5. BestCoder Round #83
  6. jQuery Multi-TouchWipe / Multi-TouchZoom
  7. Android M 特性 Doze and App Standby模式详解
  8. struct {0}初始化
  9. cdoj 93 King's Sanctuary 傻逼几何题
  10. ERP系统开发平台 (C#语言,支持多数据库)
  11. Replicate String in C#
  12. 第03讲- 第一个Android项目
  13. Spring Boot 2.x(六):优雅的统一返回值
  14. 使用django 中间件在所有请求前执行功能
  15. console.log()中的运算与打印事件
  16. python 命令行颜色
  17. 【2018.05.09 Python学习及实践】个人项目中使用的Python库备忘-持续更新
  18. 027_nginx常见优化参数
  19. vue axios拦截器 + 自编写插件 实现全局 loading 效果;
  20. DOTween 使用方法

热门文章

  1. 安装VMware Tools:Ubuntu
  2. [sqlite] 判断表、视图是否存在及常用C#操作语句
  3. hdu 4081 Qin Shi Huang's National Road System 树的基本性质 or 次小生成树思想 难度:1
  4. Unity 3D插入MySql中文无法显示问题
  5. DS导入导出命令详解
  6. VPS安装metasploit-framework
  7. Hibernate报错:Caused by: java.sql.SQLException: Field 'ID' doesn't have a default value
  8. ubuntu maven install&config
  9. React-Native基础_4.View组件
  10. 基于tensorflow的增强学习