Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Dec 2004 12:56:46 -0800
From:      Michael Collette <Michael.Collette@testequity.com>
To:        freebsd-ports@freebsd.org
Subject:   MySQL rc-ng startup
Message-ID:  <200412291256.47298.Michael.Collette@testequity.com>

next in thread | raw e-mail | index | archive | help
Having an odd problem with the mysql-server-4.0.22 rc.d startup script here.  
When it runs I get dropped to a shell prompt running as the mysql user.

When I run the following command, which I believe is what the rc script is 
trying to do, the mysql daemon starts up normally.

mysqld_safe \
  --user=mysql \
  --datadir=/var/db/mysql \
  --pid-file=/var/db/mysql/myhostname.pid > /dev/null &

I would prefer using the rc startup script so I have a means of nicely 
starting and stopping this service.  Any ideas?

Thanks,
-- 
Michael Collette
IT Manager
TestEquity Inc
Michael.Collette@TestEquity.com
http://www.testequity.com/



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