Forum Overview :: American McGee's Honda Civic
 
Nice trouble report. man truss, etc. -nt- by Ray, of Light 02/27/2003, 7:44pm PST
creativepig wrote:

I'm having difficulty getting MySQL to work with a chrooted Apache. I think what's happening is that PHP can't see mysql.sock because it's not inside the chroot and is giving me the "Can't connect, /var/run, etc." So what are my options? Obviously, the first thing I try is changing the location of mysql.sock through /etc/my.cnf. This half-worked--the socket wasn't in /var/run/mysql anymore, but it sure as hell didn't end up where I wanted to put it. Next, I tried a union mount, which should have worked, since that's how I'm getting my content into the chroot, but the socket is magical and doesn't show up through the union.


Failed opens = something missing from your chroot.
PREVIOUS NEXT REPLY QUOTE
 
OpenBSD and MySQL by creativepig 02/27/2003, 6:03pm PST NEW
    Nice trouble report. man truss, etc. -nt- by Ray, of Light 02/27/2003, 7:44pm PST NEW
    Use a tcp socket bound to localhost instead? -nt- NT by Entropy Stew 02/27/2003, 8:21pm PST NEW
 
powered by pointy