Comments on: ProxySQL Admin Configuration https://www.percona.com/blog/proxysql-admin-configuration/ Fri, 16 Feb 2024 22:55:33 +0000 hourly 1 https://wordpress.org/?v=6.5.2 By: Karnav Zaveri https://www.percona.com/blog/proxysql-admin-configuration/#comment-10972489 Thu, 16 Jul 2020 11:22:29 +0000 https://www.percona.com/blog/?p=40403#comment-10972489 I tried to use Proxy-admin package on CentOS and it keep on throwing error that “The mysql client was not found, please install the mysql client package.”. I ensured that mysql client exists on the machine. I am trying to sync users between PXC and ProxySQL.

]]>
By: Ramesh Sivaraman https://www.percona.com/blog/proxysql-admin-configuration/#comment-10969958 Thu, 15 Nov 2018 06:48:58 +0000 https://www.percona.com/blog/?p=40403#comment-10969958 Hi Angel,

proxysql-admin script will configure PXC cluster based on wsrep_incoming_addresses status variable. I think should configure PXC with public IPs. Even if you manually update mysql_server table with public IPs, proxysql-monitoring script will update the IPs from wsrep_incoming_addresses status variable.

Thanks
Ramesh

]]>
By: Angel Abella https://www.percona.com/blog/proxysql-admin-configuration/#comment-10969929 Wed, 07 Nov 2018 12:15:36 +0000 https://www.percona.com/blog/?p=40403#comment-10969929 Hi!
I have a problem with theparoxysql-admin tool… I have my percona cluster in a VPC in EC2 and my Proxysql in another VPC.
When I run the admin it configures my sqlservers private ip address so my proxysql cannot reach them from the other VPC.
Is there any way of fixxing this? I have tried updating the mysql_server config table table with the public ip addresses but it just adds the private addresss again and ignores the public ones.

Thanks.

]]>
By: Ramesh https://www.percona.com/blog/proxysql-admin-configuration/#comment-10967692 Wed, 08 Feb 2017 17:34:11 +0000 https://www.percona.com/blog/?p=40403#comment-10967692 Hi Ken,

We have updated blog with script usage information.

CLUSTER_USERNAME variable is used for connecting to the Percona XtraDB Cluster node for ProxySQL configuration. It is important that this user is present in the Cluster and that the super user account is being used to setup the configuration.

CLUSTER_APP_USERNAME is a ProxySQL application username for connecting to the Percona XtraDB Cluster node. proxysql-admin tool will create this user in Percona XtraDB Cluster. If this user is already present proxysql-admin tool will skip the user creation.

]]>
By: Ken Scott https://www.percona.com/blog/proxysql-admin-configuration/#comment-10967671 Thu, 02 Feb 2017 20:31:05 +0000 https://www.percona.com/blog/?p=40403#comment-10967671 It would be great to have some better explanation of the admin config.

#proxysql-admin credentials
export PROXYSQL_USERNAME=”admin”
export PROXYSQL_PASSWORD=”admin”
export PROXYSQL_HOSTNAME=”localhost”
export PROXYSQL_PORT=”6032″
export CLUSTER_USERNAME=”admin”
export CLUSTER_PASSWORD=”admin”
export CLUSTER_HOSTNAME=”localhost”
export CLUSTER_PORT=”3306″
export MONITOR_USERNAME=”monitor”
export MONITOR_PASSWORD=”monit0r”
export CLUSTER_APP_USERNAME=”proxysql_user”
export CLUSTER_APP_PASSWORD=”passw0rd”
export WRITE_HOSTGROUP_ID=”10″
export READ_HOSTGROUP_ID=”11″
export MODE=”singlewrite”

I’ve been having some difficulty connecting to my Percona cluster because it’s not clear the different between the “CLUSTER_APP” account and “CLUSTER_USERNAME”. I see this error in the log file:

2017-02-02T20:17:21.624590Z 50765 [Note] Aborted connection 50765 to db: ‘unconnected’ user: ‘monitor’ host: ‘192.168.1.201’ (Got an error reading communication packets)

Any help or a push in the right direction would be a big help.

thanks!

]]>
By: Ramesh Sivaraman https://www.percona.com/blog/proxysql-admin-configuration/#comment-10967645 Mon, 30 Jan 2017 18:15:53 +0000 https://www.percona.com/blog/?p=40403#comment-10967645 Hi Tomislav,

We have updated the blog.

Thank you very much for the suggestion.

]]>
By: Tomislav https://www.percona.com/blog/proxysql-admin-configuration/#comment-10967623 Thu, 26 Jan 2017 08:10:39 +0000 https://www.percona.com/blog/?p=40403#comment-10967623 It seems confusing to reference proxysql-admin as a package since it’s a script inside the proxysql package from Percona repository.

]]>