当前位置:Gxlcms > 数据库问题 > Rancher部署mysql8

Rancher部署mysql8

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

环境变量设置

      设置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查询语句中不区分大小写字符

   技术图片

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

      数据库传输同步

        技术图片

         技术图片

Rancher部署mysql8

标签:环境变量设置   登录异常   端口   mys   ges   rust   部署   sql查询语句   img   

人气教程排行