Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jan 2005 05:09:01 -0600
From:      Eric F Crist <ecrist@secure-computing.net>
To:        "Colin J. Raven" <colin@kenmore.kozy-kabin.nl>
Cc:        "Freebsd-Questions \(E-mail\)" <freebsd-questions@freebsd.org>
Subject:   Re: Trouble starting MySQL
Message-ID:  <5D403720-648A-11D9-AD37-000D9333E43C@secure-computing.net>
In-Reply-To: <20050112112234.U802@kenmore.kozy-kabin.nl>
References:  <A95E24C61BD9D611AF6200080255E43A0BC066BA@CAPITAEMAIL02> <20050112112234.U802@kenmore.kozy-kabin.nl>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail-2-519406522
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII; format=flowed

On Jan 12, 2005, at 4:23 AM, Colin J. Raven wrote:

> On Jan 12 at 10:20, Walker, Michael then said:
>
>> Colin J. Raven wrote:
>>> On Jan 12 at 09:35, Walker, Michael suggested:
>>>
>>>>
>>>> I installed MySQL from ports (mysql-4.1.7)
>>>> then tried to start it. Nothing doing - wo way.
>>>>
>>>> Starting it from /usr/loca/etc/rc.d/mysql-server.sh nothing happens.
>>>> No error message is emitted, but no running instance of mysql 
>>>> either.
>>>>
>>>> <snip>
>>>>
>>>> Read /usr/loca/etc/rc.d/mysql-server.sh you now have to start mysqld
>>>> from your rc.conf file.
>>>>
>>> OK, I added the necessary stuff to /etc/rc.conf and attempted to 
>>> start
>>> mysql via the mysql-server.sh script. Nothing doing.
>>>
>>> I rebooted the box, checked to see if mysql was running. It wasn't.
>>>
>>> I attempted once more to start it from the script - Nothing.
>>>
>>> OK, I'm back to where I started.
>>>
>>> Ideas?
>>>
>>
>> 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

HTH
_______________________________________________________
Eric F Crist                  "I am so smart, S.M.R.T!"
Secure Computing Networks              -Homer J Simpson

--Apple-Mail-2-519406522
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)

iEYEARECAAYFAkHlBU0ACgkQRAAY9knOW+ptygCdEM0uuEUTFqdUy4lClHHQMSjV
13AAniM2CkuaIQi8Tno4Ek+n+eBrCdjV
=nOA9
-----END PGP SIGNATURE-----

--Apple-Mail-2-519406522--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5D403720-648A-11D9-AD37-000D9333E43C>