-
Notifications
You must be signed in to change notification settings - Fork 1
MySQL Proxy
Sebastian edited this page Aug 29, 2016
·
9 revisions
MySQL Proxy provides possibilities to log and rewrite SQL Querries. As the name suggests, it is used as a proxy between the application and the database. A good Tutorial and further techniques can be found here.
##MySQL Proxy and Enterprise Architect Follow these steps to use MySQL Proxy with Enterprise Architect (Tested with Version 12):
-
Download the latest release of MySQL Proxy and extract the archive.
-
Go into the bin Folder and create a file named code.lua - To get started, insert the following lines:
function read_query(packet) if string.byte(packet) == proxy.COM_QUERY then print(string.sub(packet, 2)) end end