[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Chrooted mysqld sock file problem



On Wed, Oct 30, 2002 at 03:24:06PM +0100, Domonkos Czinke wrote:
> Hi ppl :)
> 
> My question is related to a chrooted Apache(+php) and Mysql. They live
> in two different chrooted environment and the problem is that I have
> several php programs which wanna use the mysql, but they can't use it
> since they can't find the mysql.sock file (because it in another
> chroot), any idea to use apache+mysql in different chroot ? :) 
> 

tcpip instead of unix socket ???


with something like 
bind-address = 127.0.0.1
to make it a little be less open to external if uneeded.


or maybe is it possible to share a directory where .sock are located by
"bind" mounting in chroots.


-- 
Easter-eggs                                Spécialiste GNU/Linux
44-46 rue de l'Ouest  -  75014 Paris   -   France -  Métro Gaité
Phone: +33 (0) 1 43 35 00 37    -     Fax: +33 (0) 1 41 35 00 76
mailto:elacour@easter-eggs.com   -    http://www.easter-eggs.com



Reply to: