From owner-freebsd-questions@FreeBSD.ORG Wed Jan 12 11:36:20 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 DA05416A4CE for ; Wed, 12 Jan 2005 11:36:20 +0000 (GMT) Received: from mxsf02.cluster1.charter.net (mxsf02.cluster1.charter.net [209.225.28.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7755143D1D for ; Wed, 12 Jan 2005 11:36:20 +0000 (GMT) (envelope-from ecrist@secure-computing.net) Received: from mxip25.cluster1.charter.net (mxip25a.cluster1.charter.net [209.225.28.155])j0CBaI3v008048 for ; Wed, 12 Jan 2005 06:36:19 -0500 Received: from c66.191.67.211.static.dul.mn.charter.com (HELO [66.191.67.211]) (66.191.67.211) by mxip25.cluster1.charter.net with ESMTP; 12 Jan 2005 06:36:19 -0500 X-Ironport-AV: i="3.88,118,1102309200"; d="scan'208?sig'208"; a="173351270:sNHT33455460" In-Reply-To: <20050112121653.K802@kenmore.kozy-kabin.nl> References: <20050112112234.U802@kenmore.kozy-kabin.nl> <5D403720-648A-11D9-AD37-000D9333E43C@secure-computing.net> <20050112121653.K802@kenmore.kozy-kabin.nl> Mime-Version: 1.0 (Apple Message framework v619) Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-3-521039612" Message-Id: <2AA407B4-648E-11D9-AD37-000D9333E43C@secure-computing.net> Content-Transfer-Encoding: 7bit From: Eric F Crist Date: Wed, 12 Jan 2005 05:36:14 -0600 To: "Colin J. Raven" X-Pgp-Agent: GPGMail 1.0.2 X-Mailer: Apple Mail (2.619) cc: "Walker, Michael" cc: "Freebsd-Questions \(E-mail\)" Subject: Re: Trouble starting MySQL 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: Wed, 12 Jan 2005 11:36:21 -0000 --Apple-Mail-3-521039612 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed On Jan 12, 2005, at 5:22 AM, Colin J. Raven wrote: > On Jan 12 at 05:09, Eric F Crist launched this into the bitstream: > >>>> >>>> Did you added mysql_enable="YES" to /etc/rc.conf? >>>> >>> >>> Yes, it's in there, as per your instructions :-) >> >> That is *actually* supposed to be mysqld_enable="YES". You're >> missing the >> 'd'. If you read the script located in /usr/local/etc/rc.d, you'll >> see a >> comment of the exact line to add to your rc.conf file. >> >> To start a server without rebooting the system, simply type the >> following >> (this example is for mysqld): >> >> # /usr/local/etc/rc.d/mysqld.sh start >> > > Umm, this is snipped directly from the script: > > # Add the following line to /etc/rc.conf to enable mysql: > # mysql_enable (bool): Set to "NO" by default. > # Set it to "YES" to enable MySQL. > > Is that wrong? *Should* it be mysqld_enable-"YES" within the script? If > so, that's a kind of major oversight on the mysql/freebsd teams' part > no? > > I am in the company of gurus so I should really keep my n00b trap > (mostly) shut - as is usually the case :) > > -Colin I would check the /var/log/messages log file for anything related to mysql, in this case. There's a reason it won't start, and it'll be indicated there. My bad on the syntax. After looking, I have a script called mysql-server.sh that doesn't require an entry in rc.conf. What version of mysql are you using? Was it installed from ports? What version of FreeBSD? Thanks. _______________________________________________________ Eric F Crist "I am so smart, S.M.R.T!" Secure Computing Networks -Homer J Simpson --Apple-Mail-3-521039612 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iEYEARECAAYFAkHlC68ACgkQRAAY9knOW+p8pACffmdklG7fx3IUFpMjP9aYo0N8 txMAnRtFAvEYDvO0BrYO3+FVCViyW9+i =O7rW -----END PGP SIGNATURE----- --Apple-Mail-3-521039612--