← Back to team overview

mysql-proxy-discuss team mailing list archive

LUA script path not recognized?

 

I have a LUA script in *"sbin"* folder. In my 32 bit Fedora core 3, If I
start the proxy, no problem, starts fine. But when I try to connect through
a client I am getting this

*error:*

*2009-05-29 19:22:50: (critical) network-mysqld-lua.c:232:
lua_load_file(/root/mysql-proxy-0.7.1-linux-rhel4-x86-32bit/MONyog.lua)
failed: lua-scope.c:244:
stat(/root/mysql-proxy-0.7.1-linux-rhel4-x86-32bit/MONyog.lua) failed: No
such file or directory (2)*

I have attached the screenshot of the error thrown.

*Command:*
 ./mysql-proxy --proxy-address=192.168.1.3:4043 --proxy-backend-addresses=
192.168.1.5:3306 --proxy-lua-script=Test.lua

Am I doing anything wrong here?

If I keep the Test.lua one folder up, i.e in
'mysql-proxy-0.7.1-linux-rhel4-x86-32bit' folder, it works fine with the
same command !

Manohar

-- 
hope is the only thing which keeps us all happy

Attachment: proxy_error.JPG
Description: JPEG image


Follow ups