关于MAC 中安装mysql 出现的问题

  1. 安装时 安装方法
    1.使用dmg 文档
    2.使用 远程命令安装
    远程命令安装
    brew install mysql
    安装完成后 可以直接启动
    mysql.server start
    安装时会提供对应密码的 设置

        使用命令 安装  只会安装最新的 版本  使用低版本的mysql Navicat 时 会出现 异常 
    

Client does not support authentication protocol requested by server; consider upgrading MySQL client
使用命令窗口 登入 当前mysql 中 查看当前使用的方式
select user,host from user where user=‘root’;
修改当期那mysql 中的 密码加密方式
alter user 'root'@'%' IDENTIFIED WITH mysql_native_password BY '12345678';

        执行以后需要刷新当前配置
        flush privileges;
posted @ 2020-01-13 17:40  JC-0527  阅读(193)  评论(0编辑  收藏  举报