Is Mysql accessible through Jailshell??

Peter Pentchev roam at ringlet.net
Thu Dec 16 08:39:55 PST 2004


On Thu, Dec 16, 2004 at 09:26:11PM +0530, Akhthar Parvez. K wrote:
> Hi all,
> 
> 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.
> 
> 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

-- 
Peter Pentchev	roam at ringlet.net    roam at cnsys.bg    roam at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-performance/attachments/20041216/7d3dee1a/attachment.bin


More information about the freebsd-performance mailing list