MySQL Forums
Forum List  »  Router & Proxy

module 'proxy.commands' not found
Posted by: Safari -
Date: September 24, 2007 08:37PM

When running mysql-proxy:
mysql-proxy --proxy-backend-addresses=127.0.0.1:3306 --proxy-lua-script=/usr/share/mysql-proxy/rw-splitting.lua

I got the following errors:

(lua-error) [/usr/share/mysql-proxy/rw-splitting.lua]
/usr/share/mysql-proxy/rw-splitting.lua:29: module 'proxy.commands' not found:
no field package.preload['proxy.commands']
no file '/usr/share/mysql-proxy/proxy/proxy/commands.lua'
no file './proxy/commands.so'
no file '/data1/mysqldev/mysql-proxy/inst/lua/lib/lua/5.1/proxy/commands.so'
no file '/data1/mysqldev/mysql-proxy/inst/lua/lib/lua/5.1/loadall.so'
no file './proxy.so'
no file '/data1/mysqldev/mysql-proxy/inst/lua/lib/lua/5.1/proxy.so'
no file '/data1/mysqldev/mysql-proxy/inst/lua/lib/lua/5.1/loadall.so'
(lua-error) [/usr/share/mysql-proxy/rw-splitting.lua]

Anyone please help.
Thanks,

Options: ReplyQuote


Subject
Views
Written By
Posted
module 'proxy.commands' not found
6298
September 24, 2007 08:37PM
3756
October 03, 2007 07:41AM
6497
October 03, 2007 10:23PM


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.