Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I can't seem to figure out how to have mysql start up when booting up for a server than I am now managing.

root@: uname -a
FreeBSD .server1 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov  5 04:19:18 UTC 2004  i386

The script that starts mysql is here: /usr/local/etc/rc.d/mysql.server

In /etc/rc.conf, I have mysql_enabled="yes"

Anyone have any ideas of what is missing?

share|improve this question
Do you get any error messages when you run /usr/local/etc/rc.d/mysql.server start as root? – voretaq7 Feb 8 '10 at 20:41
Nope. Running that as root works fine and mysql is up and running. – Echo Feb 8 '10 at 20:49
up vote 2 down vote accepted

In 5.3 all /usr/local/etc/rc.d scripts must end in .sh in order to be executed.

See /etc/rc.d/localpkg

share|improve this answer
aha! Good catch! the 5.3 part didn't register and you're 100% right. Rename the script to end in .sh and it should fire up. (Also take this time to remind your client that 5.x is End-Of-Life and an upgrade wouldn't be unwarranted :-) – voretaq7 Feb 8 '10 at 20:56
Wonderful. I was thinking it might have been a problem with the script name since it was so different. I'll be able to test the change soon. – Echo Feb 8 '10 at 21:18

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.