修改mysql中的内容发现redis不会同步数据

Linux企业实战-redis(6)gearmand

Linux企业实战-redis(6)gearmand

Linux企业实战-redis(6)gearmand

实现同步

启动server4中的gearmand

Linux企业实战-redis(6)gearmand

在server3中给mysql添加一个注册函数

Linux企业实战-redis(6)gearmand

Linux企业实战-redis(6)gearmand

然后编译

Linux企业实战-redis(6)gearmand

拷贝注册表插件

Linux企业实战-redis(6)gearmand

注册一个UDF的函数

Linux企业实战-redis(6)gearmand

server3中安装一个german的插件

Linux企业实战-redis(6)gearmand

然后make and make install

配置mysql的注册函数

Linux企业实战-redis(6)gearmand

查看注册函数

Linux企业实战-redis(6)gearmand

指定4730端口

Linux企业实战-redis(6)gearmand

重新导入

Linux企业实战-redis(6)gearmand

修改work端的vim worker.php

Linux企业实战-redis(6)gearmand

后台运行

Linux企业实战-redis(6)gearmand

这个时候我们修改mysql中的内容

Linux企业实战-redis(6)gearmand

发现redis也会同步

Linux企业实战-redis(6)gearmand

 

 

 

相关文章:

  • 2021-12-16
  • 2021-04-23
  • 2021-07-15
  • 2021-06-22
  • 2021-10-14
  • 2021-12-23
  • 2021-06-14
  • 2021-09-14
猜你喜欢
  • 2021-07-22
  • 2021-05-30
  • 2022-01-07
  • 2021-05-16
  • 2021-06-25
  • 2021-09-27
  • 2022-12-23
相关资源
相似解决方案