My employer has kindly agreed to publish a small project developed by myself as open-source.
jdbc-audit-proxy is a server and matching JDBC driver which forwards JDBC calls from any JDBC-enabled client application (eg Squirrel, DBeaver, IntelliJ) to any relational database. It is intended for a specific purpose: to give developers and support staff access to privacy-sensitive databases when needed while keeping an audit-trail to detect abuse and to (hopefully) be compliant with laws such as the European GDPR. It also resolves issues related to login credentials for the target database, and to network accessibility of the database(s).
This project is in use in a production environment. However it is not being actively maintained on github; you are welcome to use it but please don’t expect support.