I have setup the proxysql on MySQL master for read and write splitting. MySQL master and slave, proxysql server is running, however, I got an Access denied error in the proxysql terminal.
[devops@DRMBUST05 ~]$ mysql -uproxysql -p**** -h 127.0.0.1 -P…
I have two MySQL servers with master/slave replication between them. The connection between them is ADSL. It is not reliable at all. I decided to add another ADSL connection from another ISP with its own IP address.
The problem is that when when one…
We are trying to track down a memory leak in proxysql (2.0.14) which uses jemalloc (5.2.0). We compiled proxysql with debug symbols enabled. The jemalloc configuration that is baked into proxysql is the…
I installed ProxySQL in my server.
Server details :
CentOS Linux release 7.5.1804 (Core)
ProxySQL version : proxysql-2.0.2-1-centos7.x86_64.rpm
MaridaDB version : Distrib 10.3.7-MariaDB
Everything is working fine, but i am getting the following…
I have two GCP projects. A testing environment, built from scratch and a production environment with an already existing Cloud SQL for MySQL instance. My goal is to set a replication pipeline with Data Fusion to replicate some MySQL table.
On the…
I've notice some syntax error in my proxysql error log (/var/lib/proxysql/proxysql.log):
Error during query on (0,1.2.3.4,3306): 1064, syntax error, unexpected '-'
But they're report only the error and not the query that cause it.
Is it possible to…
We are trying to use GO to create a web app that connects to ProxySQL, which will in turn connect to the various MySQL database servers based on MySQL query rules that are set in ProxySQL.
We can connect to ProxySQL via command line in linux and…
My setup:
Two MySQL servers running with Master-Master replication using third party Tungsten Replicator (for a legacy reasons, can't change that now).
Typically this cluster is used as Active-Standby. In normal operation all queries should hit…
I've set up a Percona Xtradb Cluster with 5 nodes on a network that also has a ProxySQL server. I have ProxySQL working, I can log in to the admin interface on port 6032 and administer it and I can also log in through port 6033, connecting to the…
I was trying to create a Docker Image for ProxySQL . Following is my DockerFile
FROM rhel7:latest
USER root
MAINTAINER Ques Zama
# Update the image with the latest packages (recommended)
RUN yum update -y; yum clean all
# Update image
RUN…
I was writting a regex to capture the mysql query execute in proxysql.
my expectation of the regex will capture the following commend where email, password, or both of them appear together:
SELECT email FROM user_tbl
SELECT password FROM…
The following rewrite rule works as expected:
%%
regex_grammar: Awk
case_sensitive: false
ignore_whitespace: true
%
SELECT msg FROM mytable WHERE id = 123
%
SELECT msg FROM mytable WHERE id = sha1(123)
My question now is, how can I write this query…
I am new to Proxysql and have created a docker file for the Gcloud instance group following is the configration of Docker.file
FROM debian:11
MAINTAINER Hitesh Sidhiyta
RUN apt-get update && apt-get install -y wget…
Right now I have set the backend as a managed instance group with "N" machines. Where N in 2 to 5. Inside each machine is installed a ProxySQL.
As persistence layer, I have set up a Master/Slave configuration with CloudSQL where M is the numer of…
i am testing proxysql cache functionality but i got this error.
My idea is to use proxysql to decrease the load on the remote database server.
2021-04-08 13:50:42 MySQL_Session.cpp:2543:handler_again___status_CHANGING_CHARSET(): [ERROR] Detected a…