MySQL Forums
Forum List  »  Router & Proxy

Re: nothing happens when I run mysql-proxy --proxy-lua-script=first_example.lua -D
Posted by: Chris Calender
Date: June 29, 2010 05:18PM

Did you try connecting to the proxy after you started it?

For instance, you should start it with the command you posted.

And then you should login to the proxy, using a command like the following (you must connect to port 4040):

mysql -u USERNAME -pPASSWORD -h 127.0.0.1 -P 4040

Note the -h 127.0.0.1 should force a TCP/IP connection, but if not, you can use the --protocol=TCP option to ensure that it connects via port 4040 (or whichever port you run proxy on, but it is 4040 by default).

Once connected, issue some commands, and then you should see output in the window/console where you invoked the proxy.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: nothing happens when I run mysql-proxy --proxy-lua-script=first_example.lua -D
2700
June 29, 2010 05:18PM


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.