MySQL Forums
Forum List  »  Router & Proxy

source ip of current connection request - never mind
Posted by: James Cunningham
Date: September 20, 2011 06:16PM

I've searched the documentation for a system variable but could not find any reference. I'm looking for a variable in MySQL Proxy that holds the ip address that is currently requesting a server connection, i.e. a request that results in calling (if configured) a lua script funciton server_connect(). I'd appreciate any pointers in the direction to a system variable or any other way to obtain the requesting ip.

thank you in advance, james

Found it just after posting, look under client.src.address



Edited 1 time(s). Last edit at 09/20/2011 06:24PM by James Cunningham.

Options: ReplyQuote


Subject
Views
Written By
Posted
source ip of current connection request - never mind
3103
September 20, 2011 06:16PM


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.