MySQL not responding

David Jenkins david.jenkins at gmail.com
Sun Oct 31 08:20:33 PST 2004


On Sun, 31 Oct 2004 07:51:41 -0800, steveb99 <steveb99 at 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


More information about the freebsd-questions mailing list