Re: Is Mysql accessible through Jailshell??

From: Peter Pentchev (roam_at_ringlet.net)
Date: 12/16/04

  • Next message: Joseph Koshy: "[Request for Comments] PMC(3) API"
    Date: Thu, 16 Dec 2004 18:39:50 +0200
    To: "Akhthar Parvez. K" <akhthar@carmatec.com>
    
    
    

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



  • Next message: Joseph Koshy: "[Request for Comments] PMC(3) API"

    Relevant Pages

    • Re: Is Mysql accessible through Jailshell??
      ... > I got mysql error 61when I tried the same. ... are you trying to access MySQL on a TCP or local Unix ... If it is through a Unix socket, ... to exist within the jail filesystem root. ...
      (freebsd-questions)
    • What does this mean? MySQL - Rh9
      ... 040417 20:09:30 Can't start server: Bind on unix socket: Permission denied ... 040417 20:09:30 Do you already have another mysqld server running on ... I already checked and I have no other MySQL instance running. ...
      (comp.os.linux.misc)
    • Re: MySql on Windows XP
      ... > I learnt how to access MySql using php commands, ... > Is there any GUI manager to access records stored on the MySql server? ... Regards ...
      (comp.lang.php)
    • Re: Client Error while acessing MySQL 5.0
      ... this client is pre 4.1 and can't be used to access MySQl ...
      (comp.lang.ruby)
    • RE: getting started with mysql
      ... can you tell us if you actually have mysqld running? ... the mysql sockets between the client/server... ... I can't get access mysql as root to make some users and such. ... To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list ...
      (Fedora)