P
P
Pinkman2021-11-21 19:19:27
MySQL
Pinkman, 2021-11-21 19:19:27

How to log queries to mysql through a proxy?

I wrote my own server, which should transfer client requests to the server from the database. I tested my server using telnet and as I understand it gives access to the database. The truth does not answer, writes that my requests are not correct.
I still have a task: to make a logging request. But I don't understand how (except to write my own query parser, which I really don't want to do). If there are any functions / or classes that will help me with this?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Karabanov, 2021-11-21
@karabanov

You have successfully connected.
And if you want to send requests to the database via telnet, you will have to enter protocol control commands, which cannot be done via telnet, since they are binary.

D
Drno, 2021-11-21
@Drno

So everything is ok... telnet passes... then something needs to be done.
For a normal entry into the database, there are many different clients

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question