MySQL Forums
Forum List  »  Router & Proxy

Re: Unable to get Lua Scripts to work (MySQL Proxy 0.8.1-win32-x86)
Posted by: Fred Fred
Date: October 19, 2010 03:20AM

Hi,

i am now using the "tutorial-keepalive.lua" script instead and this does not generate any errors when i connect to MySQL Proxy. But it seems that every connection to MySQL Proxy is directed to my Master MySQL Server Instance and if I stop the Master MySQL Server Instance then i can not connect to any of my three server instances.

The change i made in the configuration file looks like this:
proxy-lua-script=D:/mysql-proxy-0.8.1-win32-x86/share/doc/mysql-proxy/tutorial-keepalive.lua

My connectionstring looks like this:
<connectionStrings>
<add name="ConnectionString" connectionString="server=localhost; port=4040;database=customerdb;uid=secret;pwd=secret" providerName="MySql.Data.MySqlClient"/>
</connectionStrings>

I donĀ“t get any output in the log-file on the connections that is made and i have changed the log-level to debug.

How can i test if the connections are made to different MySQL Server instances on my computer?



Edited 1 time(s). Last edit at 10/21/2010 02:13AM by Fred Fred.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Unable to get Lua Scripts to work (MySQL Proxy 0.8.1-win32-x86)
3156
October 19, 2010 03:20AM


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.