Mysql 正在尝试将zongji连接到远程数据库
我正在尝试将mysql服务器与web应用程序服务器分离。我使用node.js和zongji来监听某些表上bin日志中的更改。当进行更改时,节点ping客户机,让他们知道数据发生了更改 在另一台服务器上尝试node.js和zongji连接同一个数据库时,我发现了一个错误Mysql 正在尝试将zongji连接到远程数据库,mysql,node.js,remote-server,Mysql,Node.js,Remote Server,我正在尝试将mysql服务器与web应用程序服务器分离。我使用node.js和zongji来监听某些表上bin日志中的更改。当进行更改时,节点ping客户机,让他们知道数据发生了更改 在另一台服务器上尝试node.js和zongji连接同一个数据库时,我发现了一个错误 message: 'A slave with the same server_uuid/server_id as this slave has connected to the master; the first event \'
message: 'A slave with the same server_uuid/server_id as this slave has connected to the master; the first event \'mysql-1234-bin.000162\' at 79303225, the last event read from \'mysql-1234-bin.000162\' at 256, the last byte read from \'mysql-1234-bin.000162\' at 79303225.
我是否需要在服务器上创建从服务器以连接到远程mysql?
Zongji是否要求在本地计算机上安装mysql?
如果这是问题所在,我将如何更改服务器ID
我发现我尝试连接到的远程数据库在服务器上设置了主复制