Subject: Re: starting mysql at boottime
To: =?iso-8859-1?q?M=FCller?=, Markus <Markus.Mueller@itworks-gmbh.de>
From: Laine Stump <lainestump@rcn.com>
List: netbsd-help
Date: 02/15/2002 10:45:57
"Müller, Markus" <Markus.Mueller@itworks-gmbh.de> writes:

> MySQL should start automatically at boottime (it always did), so I just
> changed the database path in /etc/rc.local to 
> 
> /usr/pkg/bin/safe_mysqld -O query_buffer_size=8M --datadir=/database/mysql &
> 
> The new HDD is automatically mounted at /database at boottime.
> 
> So why doesn't MySQL do as told?
> No startup at boottime!

Is /database possibly not *yet* mounted at the time rc.local is run?
You could try adding:

        critical_filesystems="/database"

to rc.conf.

If that doesn't work, maybe there is some other subsystem mysql
depends on that isn't yet started.

> I can start MySQL from the shell with exactly the same command...
> I also can activate it through the webmin module...