当前位置:Gxlcms > 数据库问题 > 关于MAC 中安装mysql 出现的问题

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

时间:2021-07-01 10:21:17 帮助过:6人阅读

  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;

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

标签:方式   安装方法   方法   star   native   执行   serve   auth   toc   

人气教程排行