MySQL Forums
Forum List  »  Router & Proxy

Re: Mysql proxy 0.70 issues
Posted by: Giovanni Scopel
Date: May 18, 2009 10:12AM

Hi,
thanks for the answer.

So, the problem about the "rlimit" is gone. Thanks.

In the meantime, I tried a lot other solutions.

1) I reinstalled all on a Debian 5 standard solution, with distributed binaries (mysql 5.0.99, mysql proxy 0.6.1 etc) by standard repository.

Everything works fine, but not the r/w splitting (elsewere mentioned here in the forum as known bug. So, I must work with 0.7.x.

2) I reinstalled again on a Debian 5 with mysql-proxy 0.7.2 and standard mysql server. This time was harder, but at last works. But... If I try a lua script here you are...

-----------------------------------------------

2009-05-18 16:05:27: (critical) proxy-plugin.c:1389: (connect_server) [string "/usr/share/mysql-proxy/rw-splitting.lua"]:76: attempt to get length of field 'backends' (a nil value)
2009-05-18 16:05:27: (critical) (read_query) [string "/usr/share/mysql-proxy/rw-splitting.lua"]:218: bad argument #1 to 'ipairs' (table expected, got userdata)
2009-05-18 16:05:27: (critical) proxy-plugin.c.1129: I have no server backend, closing connection
2009-05-18 16:05:27: (critical) network-mysqld.c.1188: plugin_call(CON_STATE_READ_QUERY) failed
2009-05-18 16:05:27: (debug) [network-mysqld.c:784]: error on a connection (fd: -1 event: 0). closing client connection.
2009-05-18 16:05:27: (critical) proxy-plugin.c:1389: (connect_server) [string "/usr/share/mysql-proxy/rw-splitting.lua"]:76: attempt to get length of field 'backends' (a nil value)
2009-05-18 16:05:27: (critical) (read_query) [string "/usr/share/mysql-proxy/rw-splitting.lua"]:218: bad argument #1 to 'ipairs' (table expected, got userdata)
2009-05-18 16:05:27: (critical) proxy-plugin.c.1129: I have no server backend, closing connection
2009-05-18 16:05:27: (critical) network-mysqld.c.1188: plugin_call(CON_STATE_READ_QUERY) failed
2009-05-18 16:05:27: (debug) [network-mysqld.c:784]: error on a connection (fd: -1 event: 0). closing client connection.
2009-05-18 16:05:27: (critical) proxy-plugin.c:1389: (connect_server) [string "/usr/share/mysql-proxy/rw-splitting.lua"]:76: attempt to get length of field 'backends' (a nil value)
2009-05-18 16:05:28: (critical) (read_query) [string "/usr/share/mysql-proxy/rw-splitting.lua"]:218: bad argument #1 to 'ipairs' (table expected, got userdata)
2009-05-18 16:05:28: (critical) proxy-plugin.c.1129: I have no server backend, closing connection
2009-05-18 16:05:28: (critical) network-mysqld.c.1188: plugin_call(CON_STATE_READ_QUERY) failed
2009-05-18 16:05:28: (debug) [network-mysqld.c:784]: error on a connection (fd: -1 event: 0). closing client connection.
2009-05-18 16:05:28: (critical) proxy-plugin.c:1389: (connect_server) [string "/usr/share/mysql-proxy/rw-splitting.lua"]:76: attempt to get length of field 'backends' (a nil value)
2009-05-18 16:05:28: (critical) (read_query) [string "/usr/share/mysql-proxy/rw-splitting.lua"]:218: bad argument #1 to 'ipairs' (table expected, got userdata)
2009-05-18 16:05:28: (critical) proxy-plugin.c.1129: I have no server backend, closing connection
2009-05-18 16:05:28: (critical) network-mysqld.c.1188: plugin_call(CON_STATE_READ_QUERY) failed
2009-05-18 16:05:28: (debug) [network-mysqld.c:784]: error on a connection (fd: -1 event: 0). closing client connection.

--------------------------------------------

This happend on all .lua scipts. The installed version is 1.5.4.


So I'm again confused.

Regards,
JS

Options: ReplyQuote


Subject
Views
Written By
Posted
8483
May 13, 2009 10:12AM
4202
May 14, 2009 01:09AM
6593
May 14, 2009 08:09AM
4449
May 15, 2009 02:11PM
Re: Mysql proxy 0.70 issues
7455
May 18, 2009 10:12AM
4270
May 18, 2009 10:38PM
6358
May 19, 2009 01:31AM
4534
May 21, 2009 11:03PM


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.