MySQL Startup Script

Dan Nelson dnelson at
Tue Mar 6 08:47:02 UTC 2007

In the last episode (Mar 06), Greg 'groggy' Lehey said:
> [Moving to -questions; this isn't really a ports issue]
> On Monday,  5 March 2007 at 23:28:53 -0800, Drew Jenkins wrote:
> > I built MySQL 5.1 from port on FBSD 6.2. But it doesn't start up on
> > boot. There's a mysql-server script in /usr/local/etc/rc.d/ but if
> > I try and fire that up from the command line it doesn't start. What
> > do I need to do?
> You could start by saying how you invoked the script and what happened
> when you tried.  You should see:
>   # /usr/local/etc/rc.d/mysql-server start
>   Starting mysql.

Also make sure you have 


in your rc.conf file, since it's an rc.subr-style startup script.  See
the mysql-server script itself for more options.

	Dan Nelson
	dnelson at

More information about the freebsd-questions mailing list