MySQL Forums
Forum List  »  Router & Proxy

Connecting to sockets on the front-end
Posted by: Graham Waller
Date: September 25, 2008 03:12AM

I have been experimenting with MySQL Proxy to temporarily redirect PHP scripts to a remote db (whilst DNS propogation takes place).

After compiling MySQL Proxy and starting it with the following command line it works initially:

/usr/local/sbin/mysql-proxy --proxy-backend-addresses=remote_ip:3306 /
--daemon --proxy-address=/var/lib/mysql/mysql.sock

However it soon encounters a problem and freezes with the following error being repeated:

"network-mysqld.c.1671: can't convert addr-type 1 into a string"

Is this because support for sockets on the front end does not currently work? I was hoping to use MySQL for connections to localhost to avoiding changing php.

Many thanks
Graham

Options: ReplyQuote


Subject
Views
Written By
Posted
Connecting to sockets on the front-end
4288
September 25, 2008 03:12AM


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.