MySQL Forums
Forum List  »  Router & Proxy

Re: Proxy pool member. How to...?
Posted by: Maxim Volkov
Date: September 12, 2007 05:03PM

The attempt to print list of backends with:

for i = 1, #proxy.backends do
print(proxy.backends.address)
end

produces :

"attempt to get length of field 'backends' (a nil value)"

Is because "backends" is not initialized?
Is there something wrong with mysql-proxy and/or lua install?

Options: ReplyQuote


Subject
Views
Written By
Posted
6879
September 10, 2007 05:08PM
3024
September 10, 2007 11:52PM
3315
September 11, 2007 12:58AM
3201
September 11, 2007 01:35AM
3233
September 11, 2007 02:37AM
2983
September 11, 2007 03:38PM
2834
September 12, 2007 03:42PM
Re: Proxy pool member. How to...?
2904
September 12, 2007 05:03PM
2812
September 13, 2007 01:45AM
3010
September 13, 2007 03:16PM
2885
September 13, 2007 03:38PM


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.