Forum Overview
::
American McGee's Honda Civic
::
Nice trouble report. man truss, etc. -nt-
[quote name="Ray, of Light"][quote name="creativepig"]I'm having difficulty getting MySQL to work with a chrooted Apache. I think what's happening is that PHP can't see <I>mysql.sock</I> because it's not inside the chroot and is giving me the "Can't connect, <I>/var/run</I>, etc." So what are my options? Obviously, the first thing I try is changing the location of <I>mysql.sock</I> through <I>/etc/my.cnf</I>. This half-worked--the socket wasn't in <I>/var/run/mysql</I> 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.[/quote] Failed opens = something missing from your chroot.[/quote]