Rancher部署mysql8

时间:2021-01-19 11:46:37   收藏:0   阅读:0

环境变量设置

      设置root用户的密码

       技术图片

端口映射 

        技术图片

处理用户远程连接登录异常 

     create user ‘taishi‘@‘%‘ identified by ‘aransfar@123‘;
     grant all privileges on *.* to ‘taishi‘@‘%‘ with grant option;
     flush privileges;

    ALTER USER ‘taishi‘@‘%‘ IDENTIFIED WITH mysql_native_password BY ‘aransfar@123‘;

    set global log_bin_trust_function_creators=1;

   技术图片

 处理mysql8在sql查询语句中不区分大小写字符

   技术图片

 所有服务正常连接数据库并启动

      数据库传输同步

        技术图片

         技术图片

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!