Well, as long as where ever the mysql unix socket is located is on the
same partition as apache, you can just create a hard link for it
inside the apache chroot. Another option is to make the mysql server
listen on localhost, and have phpBB2 connect via localhost. The
benefit to that is that it doesn't matter where the mysql server is
located, as apposed to the hard link which would require it to be
located on the same partition.

Jason

On 6/8/05, John Tate <[EMAIL PROTECTED]> wrote:
> Hey,
> 
> I am having trouble with phpBB2 running on my OpenBSD 3.6 machine, it
> cannot connect to the database (Mysql). I am guessing this is because
> Apache and phpBB2 are running in a chroot environment and cannot
> connect to the Mysql Server's socket. What is the best way around this
> (preferably) without taking apache out of chroot?
> 
> Yours,
> John.
> --
> John "Rockstar" Tate
> Mobile: 0413 348 815 (Yep, old number, but I have a new phone)
> 
> New Personal Website: http://kintaro.noobify.com

Reply via email to