I trying to cache query with proxysql with bellow command
INSERT INTO mysql_query_rules (active,digest,apply,cache_ttl) VALUES (1,'0x4EFCD2A08D30486D',1, 8640000)
after that i get this result from stats_mysql_query_digest
can any one help me why i…
I have 2 proxysql(2.0.13) + keepalived in front of a 3-node galera-cluster, and 2 of the galera-nodes appeaers as "SHUNNED" in my hostgroup 10.
I do not know why they appear as "SHUNNED" and they are never recovered.
So i was hoping that somebody…
Recently we have been investigating running Percona cluster with ProxySQL on Docker Swarm, the following guide for reference:
https://www.percona.com/blog/2016/06/14/scaling-percona-xtradb-cluster-proxysql-docker-swarm/
Since ProxySQL is SQL load…
How can I config ProxySQL to have a failover, independent from read-only or not. The parameter 'weight' in mysql_servers do not work properly in this case. I have some nodes (MariaDB 10.3) with master-master-replication, and If node1 goes offline,…
I want to mask sensitive information on multiple columns in a table named my_table using ProxySQL.
I've followed this tutorial to successfully mask a single column named column_name in a table using the following mysql_query_rules:
/* only show the…
I'm newbie with proxysql, this my enviroment:
Centos 7 , proxysql-1.4.13 . I define 2 host group ids : host group id 2 for mysql server that can write , host group id 3 for mysql server that can read.
All queries that begin with insert, update,…
I've a MySQL master-slave replication setup where the slave is marked as read-only=ON. I've some stored procedures that I want to route through ProxySQL to the slave and prefer not to run on the master. Each stored procedure logs into an…
I have Percona XtraDB Cluster running in 3 nodes (node1, node2, node3). I've configured ProxySQL in the 4th node (admin).
I have an python application code trying to access the cluster.
While connecting to 3306 port of node1, I'm able to…
i have a mysql statefulset, database on Kubernetes cluster.
mysql-clusterip----> mysql-0(master)<------(mysql-headless-svc)
mysql-clusterip-----> mysql-1(read replica)
mysql-clusterip-----> mysql-2(read replica)
so i have 2 endpoint…
Has any one had any success setting ProxySQL up to work with Silverstripe? I get errors like:
Unknown Error] Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that…
I was getting the above error, so, i was checking proxy logs. I found that every 3 failed logins, proxy shunned for 10 seconds. Is this behavior normal? Any work around from preventing from getting shunned?
2023-07-27 08:57:33…
Our application developed using java and mysql Db as a backend. for conenction pooling we have used tomcat-jdbc connection pooling where configured the maxActive connection size to 300.
from last few days our application frequently reaching the…
I have written Python app which fetches data from 8-10 different databases. It works great with SQLAlchemy Pooling but i as soon as started scaling with Multiprocessing, every process creates own connection to database. I can not create more than 32…
I am following this doc on implementing data shards in mysql cluster using proxysql: https://proxysql.com/documentation/how-to-setup-proxysql-sharding/.
But my application generates prepared statements which are being captured in proxysql…
I have a container for ProxySQL 2.2.4 and another for MySQL 8.0.31. Both containers are using same network name. So from ProxySQL container I can access MySQL running in another container.
Even, ProxySQL Admin can show the MySQL service as ONLINE…