Re: Problems getting mysql-proxy working from SVN trunk.
Posted by:
Gerry Reno
Date: April 21, 2008 03:39PM
After testing this for a while I found that you must put the statement:
export LUA_PATH='/usr/local/share/mysql-proxy/?.lua'
in your /etc/sysconfig/mysql-proxy config file to get mysql-proxy working.
Without this statement you get errors such as:
2008-04-21 17:20:04: (critical) (lua-error) [/usr/local/share/mysql-proxy/rw-splitting.lua]
[string "/usr/local/share/mysql-proxy/rw-splitting.l..."]:30: module 'proxy.commands' not found:
no field package.preload['proxy.commands']
no file './proxy/commands.lua'
no file '/usr/share/lua/5.1/proxy/commands.lua'
no file '/usr/share/lua/5.1/proxy/commands/init.lua'
no file '/usr/lib/lua/5.1/proxy/commands.lua'
no file '/usr/lib/lua/5.1/proxy/commands/init.lua'
no file './proxy/commands.so'
no file '/usr/lib/lua/5.1/proxy/commands.so'
no file '/usr/lib/lua/5.1/loadall.so'
no file './proxy.so'
no file '/usr/lib/lua/5.1/proxy.so'
no file '/usr/lib/lua/5.1/loadall.so'
Gerry
Subject
Views
Written By
Posted
4414
April 18, 2008 07:50AM
2614
April 18, 2008 08:00AM
3045
April 18, 2008 09:16AM
4713
April 18, 2008 10:04AM
Re: Problems getting mysql-proxy working from SVN trunk.
2601
April 21, 2008 03:39PM
2544
April 21, 2008 08:27PM
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.