From owner-freebsd-questions@FreeBSD.ORG Fri May 6 17:52:19 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B2CCA16A4D4 for ; Fri, 6 May 2005 17:52:19 +0000 (GMT) Received: from web32107.mail.mud.yahoo.com (web32107.mail.mud.yahoo.com [68.142.207.121]) by mx1.FreeBSD.org (Postfix) with SMTP id 4092843D66 for ; Fri, 6 May 2005 17:52:19 +0000 (GMT) (envelope-from paul_s_keyes@yahoo.ca) Received: (qmail 40332 invoked by uid 60001); 6 May 2005 17:52:18 -0000 Message-ID: <20050506175218.40330.qmail@web32107.mail.mud.yahoo.com> Received: from [129.173.68.207] by web32107.mail.mud.yahoo.com via HTTP; Fri, 06 May 2005 13:52:18 EDT Date: Fri, 6 May 2005 13:52:18 -0400 (EDT) From: Paul Keyes To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: starting mysql server automatically X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 May 2005 17:52:19 -0000 Hi All, I'm setting up a server running Freebsd 5.3 I have mysql running well but I can't seem to get it to start automatically at boot time. I can only start it as root with the command: mysqld_safe --user=mysql & (when I do this everything works fine) I tried installing the mysql.server sript as: /usr/local/etc/rc.d/mysql.server.sh but when I try to run it manually I get this: ./mysql.server.sh: 102: Syntax error: Bad for loop variable What is the best way to get the mysql server running automatically when the computer boots? Thanks, Paul ______________________________________________________________________ Post your free ad now! http://personals.yahoo.ca