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