2

I would like to know a solution to splitting very large MySQL general query logs by specific clients that have accessed the server.

Ideally a separate log will be created for each client.

Thanks

1 Answer 1

0

I would think that you could relatively easily achieve this using MySQL-Proxy.

You'd have to put together a LUA script that would be able to differentiate your clients (username, DB Name, connecting host), and then log each one to a separate file.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.