Package request: mysql-proxy
http://dev.mysql.com/downloads/mysql-proxy
MySQL Proxy is a simple program that sits between your client and MySQL server(s) that can monitor, analyze or transform their communication. Its flexibility allows for a wide variety of uses, including load balancing; failover; query analysis; query filtering and modification; and many more. Installation and build instructions are in the source archive below (mysql-proxy-X.X.X.tar.gz)
source code http://dev.mysql.com/get/Downloads/MySQL-Proxy/mysql-proxy-0.8.5.tar.gz
(from redmine: issue id 4637, created on 2015-09-12)