From owner-freebsd-questions@FreeBSD.ORG Mon Feb 9 03:15:28 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 198B816A4CE for ; Mon, 9 Feb 2004 03:15:28 -0800 (PST) Received: from rdsnet.ro (smtp.rdsnet.ro [62.231.74.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3115443D1D for ; Mon, 9 Feb 2004 03:15:27 -0800 (PST) (envelope-from itetcu@apropo.ro) Received: (qmail 14280 invoked from network); 9 Feb 2004 11:15:25 -0000 Received: from unknown (HELO it.buh.cameradicommercio.ro) (81.196.25.19) by mail.rdsnet.ro with SMTP; 9 Feb 2004 11:15:25 -0000 Date: Mon, 9 Feb 2004 13:17:10 +0200 From: Ion-Mihai Tetcu To: "csalan@xnet.ro" Message-Id: <20040209131710.4bd6a816@it.buh.cameradicommercio.ro> In-Reply-To: <1076323156-csalan@xnet.ro-27.smmsdV2.0.3@217.10.192.226> References: <1076323156-csalan@xnet.ro-27.smmsdV2.0.3@217.10.192.226> X-Mailer: Sylpheed version 0.9.8claws (GTK+ 1.2.10; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: Specify the originating port when connecting to a mysql server. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2004 11:15:28 -0000 Please wrap at 72 chars, thanks On Mon, 9 Feb 2004 12:39:16 +0200 "csalan@xnet.ro" wrote: > Hello, > And please excuse me for sending previous mail without Subject. > > Is it possible to specify the originating port when connecting to a > mysql server? The problem I have is that the box from which I wish to > connect using some script have some ports firewalled, and I want to > avoid them. Thank you. You are connecting with mysql client or something other ? If the server is local and you're using mysql you can try to connect -S|--socket=snum Employ the specified socket file for connecting to the database server. -- IOnut Unregistered ;) FreeBSD user