MySQL Forums
Forum List  »  Router & Proxy

Re: read queries are not executing on backend-read-only server
Posted by: Diego Medina
Date: July 24, 2009 12:08PM

Hi Yogesh,

proxy 0.6 is very different than 0.7.x, please see http://forge.mysql.com/wiki/MySQL_Proxy_0.6_to_0.7

for details.

So, the split.lua may work with one version, but not the other, it depends on what line 88 shows (it says line 89, but it adds an extra line who knows why)

Regarding "i also compiled glib2 2.20 which in fact need glib2-devel =>2.16 "

are you saying that compiling 2.20 needs glib2-devel =>2.16 or that the proxy needs glib2-devel =>2.16.

The proxy needs glib2 greater than 2.16, I am using 2.20.4 on my mac.
You may need to specify the path to your manually compiled glib2 2.20.
Like this:



$ export PKG_CONFIG_PATH="/usr/local/glib2/lib/pkgconfig"

and then continue

$ ./configure --enable-maintainer-mode --prefix=/opt/mysql-proxy-0.7.2

Oh, btw, we have 0.7.2 binaries available for download here

http://dev.mysql.com/downloads/mysql-proxy/

Thanks

--
Diego Medina, QA Engineer
Enterprise Tools - Database Group, Sun Microsystems

Are you MySQL certified? http://www.mysql.com/certification

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: read queries are not executing on backend-read-only server
2422
July 24, 2009 12:08PM


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.