
MySQL
Hannah_zh
这个作者很懒,什么都没留下…
展开
-
MySQL8.0基于GTID主从复制
一、MySQL8.0基于GTID主从复制 注意: MySQL8.0之前版本的mysql密码加密方式为mysql_native_password,而MySQL8.0默认新添加的用户密码默认使用的caching_sha2_password,因此进行使用主从复制时可能会遇到错误:“error :Authentication plugin ’ caching_sha2_password’ reported error: Authentication requires secure connection.”。 解决原创 2020-05-26 18:15:12 · 1300 阅读 · 0 评论 -
MySQL8.0安装与基于二进制日志文件位置的主从复制
一、MySQL8.0安装 安装环境: CentOS7.6 64位 关闭防火墙,禁用selinux 安装步骤: (1)下载MySQL8.0的repo源 cd /tmp wget https://dev.mysql.com/get/mysql80-community-release-el7-1.noarch.rpm (2)安装mysql80-community-release-el7-1.noarch.rpm并获取repo源 rpm -ivh mysql80-community-release-el7-1原创 2020-05-26 17:59:10 · 407 阅读 · 0 评论