I'm setting up admin-cluster following
https://github.com/sysown/proxysql/wiki/ProxySQL-Cluster and I'm stuck on getting monitoring working
I'm seeing this error in the logs.
ProxySQL_Cluster.cpp:172:ProxySQL_Cluster_Monitor_thread(): [WARNING] Cluster: unable to connect to peer proxysql-2.internal:6032 . Error: ProxySQL Error: Access denied for user 'cluster_monitor'@'' (using password: YES)
ProxySQL_Cluster.cpp:172:ProxySQL_Cluster_Monitor_thread(): [WARNING] Cluster: unable to connect to peer proxysql-3.internal:6032 . Error: ProxySQL Error: Access denied for user 'cluster_monitor'@'' (using password: YES)
I added the user the sqlite DB on each host using...
#Set cluster monitor user/pass
UPDATE global_variables SET variable_value='cluster_monitor' WHERE variable_name='admin-cluster_username';
UPDATE global_variables SET variable_value='...password...' WHERE variable_name='admin-cluster_password';
LOAD ADMIN VARIABLES TO RUNTIME;
SAVE ADMIN VARIABLES TO DISK;
Is the user/pass expected to be a mysql user/pass?
-Erik-