Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Nov 2001 23:22:25 +0000
From:      Scott Mitchell <scott.mitchell@mail.com>
To:        Jonathan Hilgeman <JHilgeman@ecx.com>
Cc:        "'freebsd-questions@freebsd.org'" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Starting a Process Without Tying Yourself To It
Message-ID:  <20011121232225.E307@localhost>
In-Reply-To: <5D90F61EB6FDD411836500508B137F1AA3F071@mailsvr.ecx.com>; from JHilgeman@ecx.com on Wed, Nov 21, 2001 at 03:03:06PM -0800
References:  <5D90F61EB6FDD411836500508B137F1AA3F071@mailsvr.ecx.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Nov 21, 2001 at 03:03:06PM -0800, Jonathan Hilgeman wrote:
> I want to start the mySQL daemon, but I don't want to tie myself to that
> process.
> 
> I've tried:
> /usr/local/mysql/bin/safe_mysqld
> 
> And it just sits there after it starts.
> 
> And I've tried:
> /usr/local/mysql/bin/safe_mysqld &
> 
> I can go back to the shell after that, but it seems to just be running as a
> background job, still tied to me. 
> 
> How can I start it by itself and just let it keep running by itself (as if i
> had rebooted and the system just started it)?

Did you install it from the port (or package)?  If so,

/usr/local/etc/rc.d/mysql-server.sh start

should do the trick.  That script will also be run at boot time.

	Scott

-- 
===========================================================================
Scott Mitchell          | PGP Key ID | "Eagles may soar, but weasels
Cambridge, England      | 0x54B171B9 |  don't get sucked into jet engines"
scott.mitchell@mail.com | 0xAA775B8B |      -- Anon

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011121232225.E307>