采用MySQL-Proxy进行读写分离时的一点疑问
程序员文章站
2024-01-06 10:07:46
...
今天在采用MySQL-Proxy0.8.3测试读写分离时,功能都正常,但出现了一些让人有些疑惑的提示信息,不太确定算不算异常。。。。。。配置文件“/usr/local/mysql-pro
今天在采用 MySQL-Proxy 0.8.3 测试读写分离时,,功能都正常,但出现了一些让人有些疑惑的提示信息,
不太确定算不算异常。。。。。。
配置文件“/usr/local/mysql-proxy/etc/mysql-proxy.cnf”如下:
[mysql-proxy] basedir = /usr/local/mysql-proxy daemon = true keepalive = true proxy-address = 0.0.0.0:3306 max-open-files = 65535 proxy-fix-bug-25371 = true event-threads = 8 proxy-backend-addresses = 10.222.5.224:3306 proxy-read-only-backend-addresses = 10.137.23.179:3306 plugin-dir = /usr/local/mysql-proxy/lib/mysql-proxy/plugins plugins = admin,proxy admin-lua-script = /usr/local/mysql-proxy/lib/mysql-proxy/lua/admin.lua proxy-lua-script = /usr/local/mysql-proxy/lib/mysql-proxy/lua/rw-splitting.lua admin-address = 10.209.6.102:3307 admin-username = root admin-password = 123456 pid-file= /usr/local/mysql-proxy/run/mysql-proxy.pid log-file = /usr/local/mysql-proxy/log/mysql-proxy.log log-level = warning: