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

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.