Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Oct 2004 16:20:25 +0000
From:      David Jenkins <david.jenkins@gmail.com>
To:        steveb99 <steveb99@earthlink.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: MySQL not responding
Message-ID:  <9395922d04103108202b626477@mail.gmail.com>
In-Reply-To: <20041031155142.4E9D743D1F@mx1.FreeBSD.org>
References:  <4184D39B.5030700@broadpark.no> <20041031155142.4E9D743D1F@mx1.FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 31 Oct 2004 07:51:41 -0800, steveb99 <steveb99@earthlink.net> wrote:
> I have a FreeBSD 5.2.1 server with Apache 2, mod_php4, and MySQL4.
> Individually all the pieces work.  Apache up and serving pages,  PHP
> pages work, and MySQL is working and I restored my databases from a
> Linux project.  I also moved all my working code from an old Linux
> project. I also checked the accounts on MySQL and passwords so they
> would work with the old code.
> 
> Problem:
> Any page that calls MySQL stops at the MySQL call and sits there
> forever. I threw in some debug code to confirm it is executing right
> up to the call to MySQL.  What have I missed in setting this
> environment up.  Is there something I need to do to Apache to call
> MySQL.  Do I need to install MySQL client, I only install the server.

Hi Steve,

Have you checked the Apache and MySQLd log files?
Have you also turned on full error reporting in php.ini/checked your php.ini?

Hope this helps,
David



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9395922d04103108202b626477>