From owner-freebsd-questions@FreeBSD.ORG Thu Dec 16 16:39:55 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 11A1516A4CF for ; Thu, 16 Dec 2004 16:39:55 +0000 (GMT) Received: from gandalf.online.bg (gandalf.online.bg [217.75.128.9]) by mx1.FreeBSD.org (Postfix) with SMTP id DD46D43D3F for ; Thu, 16 Dec 2004 16:39:52 +0000 (GMT) (envelope-from roam@ringlet.net) Received: (qmail 23862 invoked from network); 16 Dec 2004 16:39:47 -0000 Received: from unknown (HELO straylight.ringlet.net) (213.16.36.84) by gandalf.online.bg with SMTP; 16 Dec 2004 16:39:47 -0000 Received: (qmail 15472 invoked by uid 1000); 16 Dec 2004 16:39:50 -0000 Date: Thu, 16 Dec 2004 18:39:50 +0200 From: Peter Pentchev To: "Akhthar Parvez. K" Message-ID: <20041216163950.GE2047@straylight.m.ringlet.net> References: <200412162126.11835.akhthar@carmatec.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Rgf3q3z9SdmXC6oT" Content-Disposition: inline In-Reply-To: <200412162126.11835.akhthar@carmatec.com> User-Agent: Mutt/1.5.6i cc: freebsd-performance@freebsd.org cc: freebsd-questions@freebsd.org Subject: Re: Is Mysql accessible through Jailshell?? 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: Thu, 16 Dec 2004 16:39:55 -0000 --Rgf3q3z9SdmXC6oT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 16, 2004 at 09:26:11PM +0530, Akhthar Parvez. K wrote: > Hi all, >=20 > I am not able to access mysql from jailshell. Is it allowed or a bug? > I got mysql error 61( Connection refused) when I tried the same. >=20 > Comments are welcomed. Quick question: are you trying to access MySQL on a TCP or local Unix socket? If it is through a Unix socket, then the MySQL socket has to exist within the jail filesystem root. By default, the MySQL server opens a Unix socket under either /tmp or /var/run, which cannot be seen by any jail on the system. G'luck, Peter --=20 Peter Pentchev roam@ringlet.net roam@cnsys.bg roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 This sentence claims to be an Epimenides paradox, but it is lying. --Rgf3q3z9SdmXC6oT Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBwbpW7Ri2jRYZRVMRAiTIAKCd29XjS5e1zhq4vHkIs9vU0QyC4QCeMR5J atWVcG84cml5MKGqgtSGIcw= =3W/c -----END PGP SIGNATURE----- --Rgf3q3z9SdmXC6oT--