mysql-proxy-discuss team mailing list archive
-
mysql-proxy-discuss team
-
Mailing list archive
-
Message #00027
attempt to index local 'auth' (a nil value) in read_handshake
Hi,
Just getting started with mysq-proxy. Looks like an awesome project.
I am getting this:
2009-02-04 21:00:15: (critical) (read_handshake) [string
"/usr/local/mysql-proxy/brock.lua"]:31: attempt to index local 'auth'
(a nil value)
with this function:
function read_handshake( auth )
print("<-- let's send him some information about us")
print(" mysqld-version: " .. auth.mysqld_version)
end
I ended up at this trying to find the problem with a test lua script.
I figured the above was about as basic it comes, but I still cannot
get any data out of "auth" as it appears to be null.
Do you guys have an updated lua example that can obtain authenticaion
information or am I missing something obvious?
Thanks,
Brock
Follow ups