mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-21 13:23:02 +01:00
add mysql-proxy
This commit is contained in:
5
mysql-proxy/code.lua
Normal file
5
mysql-proxy/code.lua
Normal file
@@ -0,0 +1,5 @@
|
||||
function read_query(packet)
|
||||
if packet:byte() == proxy.COM_QUERY then
|
||||
print("we got a normal query: " .. packet:sub(2))
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user