Mac修改mysqlroot密码 2018-04-19 随笔 评论 字数统计: 31(字) 阅读时长: 1(分)打开终端12345678910cd /usr/local/mysql/bin/ ./mysqld_safe --skip-grant-tables & ./mysql -u root use mysql; update user set authentication_string='pwd' where User='root';