MySQL Forums
Forum List  »  Router & Proxy

can't get
Posted by: Aditya Baskoro
Date: May 06, 2010 06:10AM

hai i'm a newbie who uses LUA and mysql proxy as my last project in my institute

i'm having a trouble with the mysql proxy here my code

function read_handshake( auth )
print("<-- let's send him some information about us")
print(" mysqld-version: " .. proxy.connection.server.mysqld_version)
print(" thread-id : " .. proxy.connection.server.thread_id)
print(" scramble-buf : " .. string.format("%q",proxy.connection.server.scramble_buffer))
print(" server-addr : " ..
print(" client-addr : " ..


there some error report said that dst is not exist
like this

(read_handshake) Tes.lua:29: attempt to index field 'dst' (a nil value

and i tried with having same error that said src field is none to

i don't know what my mysql proxy version is (coz i don't know how to check it)

so is there some one that can help me?/


Options: ReplyQuote

Written By
can't get
May 06, 2010 06:10AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.