From owner-freebsd-questions Mon Nov 5 8:11:14 2001 Delivered-To: freebsd-questions@freebsd.org Received: from fancy.blackchick.net (biad.net [63.241.25.141]) by hub.freebsd.org (Postfix) with ESMTP id CB9BC37B416 for ; Mon, 5 Nov 2001 08:11:07 -0800 (PST) Received: from home ([200.80.197.252]) by fancy.blackchick.net (8.11.4/8.11.0) with ESMTP id fA5G9ae26083 for ; Mon, 5 Nov 2001 08:09:37 -0800 (PST) (envelope-from zuez@smartdigitalinc.com) From: "Guido Fortunati" To: Subject: RE: boot question Date: Mon, 5 Nov 2001 13:11:26 -0300 Message-ID: <000e01c16614$88941630$55000b0a@home> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <005d01c16614$35c88f80$f900a8c0@norteamericano.cl> Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG you should actually have mysql-server.sh in /usr/local/etc/rc.d if you fetched mysql from the ports. If not, create a file called mysql.sh in /usr/local/etc.rc.d/ #!/bin/sh case "$1" in start) if [ -x /usr/local/bin/safe_mysqld ]; then /usr/local/bin/safe_mysqld --user=mysql > /dev/null & && echo -n ' mysqld' fi ;; stop) /usr/bin/killall mysqld > /dev/null 2>&1 && echo -n ' mysqld' ;; *) echo "" echo "Usage: `basename $0` { start | stop }" echo "" exit 64 ;; esac of course, replace /usr/local/bin/safe_mysql to wherever safe_mysqld is. -guido -----Original Message----- From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-questions@FreeBSD.ORG] On Behalf Of Webmaster Sent: Lunes, 05 de Noviembre de 2001 01:09 p.m. To: freebsd-questions@FreeBSD.ORG Subject: boot question I have Freebsd 4.3 release with mysql database. I need the mysql startup > utomatically when boot my freebsd. > > > thank!!!! > > Marcelo. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message