vendredi 24 avril 2015

MySQL/MariaDB Trigger for Taking Ran Query and Pasting into a Row

So one of the projects I'm working on requires us to take every query that is ran on the server and automatically paste that query into a table inside of the database. The reason for this is so that the DBA is able to view all prior SQL Queries that have been ran on the box. Unfortunately I don't have any leeway to do this differently as the client is requiring this implementation.

Has anybody done this before or has any code that I could use that will automatically do this? Thanks.

Aucun commentaire:

Enregistrer un commentaire