MySQL主从
摘要:
MySQL主从配置 读写分离:写数据到主库,读数据到从库,从库会自动同步主库的数据 复制原有mysql,重命名并修改my.ini 主库my.ini [mysqld] #开启日志 log_bin = mysql-bin #屏蔽系统库同步 binlog-ignore-db = mysql binlog- 阅读全文
posted @ 2020-07-12 16:39 大桃桃 阅读(165) 评论(0) 推荐(0) 编辑
posted @ 2020-07-12 16:39 大桃桃 阅读(165) 评论(0) 推荐(0) 编辑
posted @ 2020-07-12 16:01 大桃桃 阅读(361) 评论(0) 推荐(1) 编辑