From owner-freebsd-questions@FreeBSD.ORG Sun Oct 31 16:20:33 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 46EC916A4CE for ; Sun, 31 Oct 2004 16:20:33 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC11A43D3F for ; Sun, 31 Oct 2004 16:20:32 +0000 (GMT) (envelope-from david.jenkins@gmail.com) Received: by rproxy.gmail.com with SMTP id 74so67965rnk for ; Sun, 31 Oct 2004 08:20:25 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=V7zlIP8Lo/0bn3Revi11LAWZiEyWR/w1JoWHmM3tJF1T8+DFIlpi9EfgkIJy487e5+bN+hr5CTSt1jbE6LuYoqAuzyQFYs/pGzTqDaV7F/dhzHtOPBujUq2MoCfeA6LUS1EEBkvFZPbqFnkvNABkYk/5sGZ/S//2FBsOU67AntA= Received: by 10.38.165.67 with SMTP id n67mr234039rne; Sun, 31 Oct 2004 08:20:25 -0800 (PST) Received: by 10.38.208.66 with HTTP; Sun, 31 Oct 2004 08:20:25 -0800 (PST) Message-ID: <9395922d04103108202b626477@mail.gmail.com> Date: Sun, 31 Oct 2004 16:20:25 +0000 From: David Jenkins To: steveb99 In-Reply-To: <20041031155142.4E9D743D1F@mx1.FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <4184D39B.5030700@broadpark.no> <20041031155142.4E9D743D1F@mx1.FreeBSD.org> cc: freebsd-questions@freebsd.org Subject: Re: MySQL not responding X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: David Jenkins List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Oct 2004 16:20:33 -0000 On Sun, 31 Oct 2004 07:51:41 -0800, steveb99 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