Skip to content

proxysql stored procedure calls #801

Open
@kisienya

Description

@kisienya

Hello,

I appreciate this tool.

I have configured proxysql to mirror queries coming from backend application. I have a catch all rule that does the mirroring.
INSERT INTO mysql_query_rules (rule_id,active,match_pattern,destination_hostgroup,mirror_hostgroup,apply) VALUES (10,1,'.*',0,1,1);

When I run simple update queries from proxysql, mirroring works, i.e. data on both MySQL servers gets updated. For example
mysql -u root '-ppassword' -h 127.0.0.1 -P6033 -e "UPDATE database.table SET lastname='Doe' WHERE personid=1"

The application is able to contact MySQL server via sqlproxy without the above rule. Immediately the rule is inserted, the application looses connection.

The application heavily uses stored procedures to communicate with MySQL database.

Any help on this?

Much appreciated

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions