我在 MySQL master 上设置了 proxysql 以进行读写分离。MySQL主从,proxysql服务器正在运行,但是,我Access denied在proxysql终端中收到错误。
[devops@DRMBUST05 ~]$ mysql -uproxysql -p**** -h 127.0.0.1 -P 6033
mysql: [Warning] Using a password on the command line interface can be insecure.
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.5.30 (ProxySQL)
Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of …Run Code Online (Sandbox Code Playgroud) 我有两个 MySQL 服务器,它们之间有主/从复制。它们之间的连接是ADSL。它根本不可靠。我决定从另一个 ISP 使用自己的 IP 地址添加另一个 ADSL 连接。
问题是当一个 ADSL 连接断开时,另一个连接没有用,因为从站正在使用第一个连接的 IP 地址,该地址现在已断开。
我想知道是否可以在之间放置一个 proxysql 节点并将其 IP 提供给从站。
proxysql 是否可以对同一节点进行故障转移连接处理?当第一个 IP 地址不可用时,Proxysql 必须选择第二个 IP 地址。