From owner-freebsd-questions@FreeBSD.ORG Tue Nov 27 00:52:49 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 82A5516A418 for ; Tue, 27 Nov 2007 00:52:49 +0000 (UTC) (envelope-from jekillen@prodigy.net) Received: from smtp102.sbc.mail.mud.yahoo.com (smtp102.sbc.mail.mud.yahoo.com [68.142.198.201]) by mx1.freebsd.org (Postfix) with SMTP id 4373513C45A for ; Tue, 27 Nov 2007 00:52:49 +0000 (UTC) (envelope-from jekillen@prodigy.net) Received: (qmail 99910 invoked from network); 27 Nov 2007 00:52:48 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=prodigy.net; h=Received:X-YMail-OSG:In-Reply-To:References:Mime-Version:Content-Type:Message-Id:Content-Transfer-Encoding:Cc:From:Subject:Date:To:X-Mailer; b=xq8AN0ehpPl8imvcBwav0NCwPG+jRxfBT+V1ImNpWc+UPBvoBOpGEr+a58AoCpW6VDIRrNrv+5vE02LVNeWw5ST2/M8F1UaFk7JF8SFWaJFUZkE6p6Uj/sWw0k8Sa1xUsaweR164db5CXvk2Zfkp4qcTjg+AmhjHOQYyI+Deusg= ; Received: from unknown (HELO ?75.7.236.228?) (jekillen@prodigy.net@75.7.236.228 with plain) by smtp102.sbc.mail.mud.yahoo.com with SMTP; 27 Nov 2007 00:52:48 -0000 X-YMail-OSG: vd6xha8VM1l0rx5nvdvKtmdIJ6rvisN4yXA.thJfJKyPz5v7Xo4gqpW4.R5iCmbinpj8s0OAMg-- In-Reply-To: <20071126055614.5FD1.GERARD@seibercom.net> References: <3710.10.202.77.103.1196026478.squirrel@webmail.superhero.nl> <20071126055614.5FD1.GERARD@seibercom.net> Mime-Version: 1.0 (Apple Message framework v622) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <2854bfb4a1bd36877e398b36f610daf5@prodigy.net> Content-Transfer-Encoding: 7bit Cc: User Questions From: jekillen Date: Mon, 26 Nov 2007 16:53:44 -0800 To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.622) Subject: Re: short Q X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Nov 2007 00:52:49 -0000 On Nov 26, 2007, at 2:57 AM, Gerard Seibert wrote: >> On November 25, 2007 at 09:51PM jekillen wrote: > > [ snip ] > >> Thank you all for responses. >> I did get this straightened out: >> It is mysql_enable="YES" >> and putting a script named mysql >> in the /etc/rc.d directory with the >> lines; >> #! /bin/sh >> /usr/local/bin/mysqld_safe --user=mysql & >> did the trick. This is what the mysql docs >> prescribe for starting the server. Perhaps >> that is not the best way to go about it at >> system start, but it works. >> Thanks again; >> Jeff K > > Did you install this from ports? If so. the script would have been > placed > there all ready. Yes, that is what provoked the original question. I had built and installed from source tarball in the past. But one machine was always a problem. Once I did install from ports I was lacking info. The startup script was not in /etc/rc.d (although I have subsequently got into on /usr/local/etc/rc.d) I had followed instructions from MySQL documentation and put the script they supplied in /etc/rc.d; mysql.server, but for some reason the script did not actually start MyQSL. But the systems seems to look for some thing with mysql in the name and runs it if it is in /etc/rc.d. That is how I figured out what to do. (or maybe the system will try to run anything that is in /etc/rc.d if there is a corresponding enable line in rc.conf it understands). The academic question is, is the program that runs the startup routine, itself a script or is it a binary? Thanks