Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Dec 2004 18:39:50 +0200
From:      Peter Pentchev <roam@ringlet.net>
To:        "Akhthar Parvez. K" <akhthar@carmatec.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Is Mysql accessible through Jailshell??
Message-ID:  <20041216163950.GE2047@straylight.m.ringlet.net>
In-Reply-To: <200412162126.11835.akhthar@carmatec.com>
References:  <200412162126.11835.akhthar@carmatec.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041216163950.GE2047>