← Back to team overview

mysql-proxy-discuss team mailing list archive

Errors with MySQL proxy 0.7.1 with my LUA script. (It was working fine with 0.6.1)

 

I am using "mysql-proxy-0.7.1-linux-rhel4-x86-32bit.tar.gz" MySQL proxy
binary on 32 bit machine

uname -a:
[root@testserver sbin]# uname -a
Linux testserver 2.6.12-1.1381_FC3 #1 Fri Oct 21 03:46:55 EDT 2005 i686
athlon i386 GNU/Linux
<mysql-proxy-discuss@xxxxxxxxxxxxxxxxxxx>
[root@testserver sbin]# ./mysql-proxy
--proxy-address=192.168.1.3:4040--proxy-backend-addresses=
192.168.1.5:3306 --proxy-lua-script=test.lua
2009-05-23 18:05:15: (critical) chassis.c:980: could not raise RLIMIT_NOFILE
to 8192, Invalid argument (22). Current limit still 34359739392.
2009-05-23 18:05:17: (critical) (read_handshake) [string
"/root/mysql-proxy-0.7.1-linux-rhel4-x86-32b..."]:143: attempt to index
local 'auth' (a nil value)
2009-05-23 18:05:17: (critical) (read_auth) [string
"/root/mysql-proxy-0.7.1-linux-rhel4-x86-32b..."]:166: attempt to index
local 'auth' (a nil value)

I am running a sample which was working fine in 0.6.1 given here:
http://dev.mysql.com/doc/refman/5.0/en/mysql-proxy-scripting-read-handshake.html
Now where ever I have used 'auth', it is throwing these errors.

1) Is it expected? If so,
2) Can you please point me to the updated documentation?

Manohar

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

Follow ups