From owner-freebsd-questions@FreeBSD.ORG Wed Jan 12 16:24:56 2005 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 7128A16A4D8 for ; Wed, 12 Jan 2005 16:24:56 +0000 (GMT) Received: from t-x.dignus.nl (t-x.dignus.nl [83.219.88.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA95043D58 for ; Wed, 12 Jan 2005 16:24:53 +0000 (GMT) (envelope-from colin@kenmore.kozy-kabin.nl) Received: from localhost (localhost.dignus.nl [127.0.0.1]) by t-x.dignus.nl (Safehouse) with ESMTP id D07AD2841E for ; Wed, 12 Jan 2005 17:25:08 +0100 (CET) Received: from kenmore.kozy-kabin.nl (cjr-home [62.251.72.148]) by t-x.dignus.nl (Safehouse) with ESMTP id AEE9628419 for ; Wed, 12 Jan 2005 17:25:03 +0100 (CET) Received: from kenmore.kozy-kabin.nl (localhost.kozy-kabin.nl [127.0.0.1]) by kenmore.kozy-kabin.nl (Postfix) with ESMTP id 1F37661B8 for ; Wed, 12 Jan 2005 17:24:47 +0100 (CET) Received: from localhost (colin@localhost)j0CGOkSF024513 for ; Wed, 12 Jan 2005 17:24:46 +0100 (CET) (envelope-from colin@kenmore.kozy-kabin.nl) Date: Wed, 12 Jan 2005 17:24:46 +0100 From: "Colin J. Raven" To: FreeBSD Questions In-Reply-To: <200501121558.j0CFwMK23521@clunix.cl.msu.edu> Message-ID: <20050112171729.K802@kenmore.kozy-kabin.nl> References: <200501121558.j0CFwMK23521@clunix.cl.msu.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by RemSPAMd at ph230.plushosting.nl Subject: Re: Trouble starting MySQL [SOLVED] [CLOSED] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jan 2005 16:24:56 -0000 Earlier today I said: >> Greetings all, >> I installed MySQL from ports (mysql-4.1.7) >> then tried to start it. Nothing doing - wo way. >> >> Starting it from /usr/loca/etc/rc.d/mysql-server.sh nothing happens. No >> error message is emitted, but no running instance of mysql either. > > You may need to set a variable in /etc/rc.conf such as: > MySQL="YES" mysql_enable="yes" That is mentioned in /usr/loca/etc/rc.d/mysql-server.sh It is now in /etc/rc.conf That however didn't solve the problem - or as far as I am or was aware. Instead I started the MySQL server from Webmin and it's running just fine. The next issue was getting php to recognize the existence of MySQL. Several steps later this is in essence what was done: I deinstalled php4 and also php4-extensions. Stopped httpd altogether. Reinstalled php4 and as many extensions as possible (although some libmagic thing halted the 100% installation of the extensions, so I sent debug info to the maintainer as directed by screen output) The reinstall was unremarkable, in that nothing that I could see varied from the first time out - OTHER THAN - as said, the halt in extensions that didn't happen first time. Restarted httpd and puled up a phpinfo.php page and suddenly there was some mention of mysql for the first time. I just don't have any clue what I did; a) wrongly at first and then b) correctly later So it *seems* matters are resolved, although I'm not 100% certain. I assume it's solved because phpinfo displays awareness of MySQL. Warm thanks to one and all who have jumped in on this today, it's now solved and closed (for the archives, that is) This wouldn't have happened without the list crew. Until the next problem then.... Regards, -Colin -- Colin J. Raven FreeBSD 5.3-RELEASE - http://www.FreeBSD.org - There can be only One Wed Jan 12 17:24:00 CET 2005 5:24PM up 6:12, 6 users, load averages: 0.00, 0.00, 0.00