Re: Connect to MySQL through Proxy?

From: Date: Fri, 03 Aug 2001 14:00:32 +0000
Subject: Re: Connect to MySQL through Proxy?
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-11035@lists.php.net to get a copy of this message
At 03.08.2001 13:36, David Viner wrote:
Does anyone know if it is possible to make a MySQL connection (using mysql_connect or mysql_pconnect) through a proxy server? I need to be able to synchronise from one server on an internal network through to one on the web - doing it when a proxy is not involved is dead easy, but... Thanks in advance for any tips/ideas on this.
This is strictly a MySQL issue and not a php issue, but to avoid being a oneliner, I'm pretty sure that you can't do what you're hoping to do... Proxyservers deal with http requests (usually 1.0 and 1.1), mysql uses it's own protocol and has no means to communicate over http... Get your sysadm to open or map some ports for you so you can use mysql native, otherwise you'd have to do a dump and then import that on the other server, which would not be a 2-way sync... -- Andreas D Landmark / noXtension Real Time, adj.: Here and now, as opposed to fake time, which only occurs there and then.

« previous php.db (#11035) next »