Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Sep 2005 13:30:43 -0700
From:      Glenn Dawson <glenn@antimatter.net>
To:        Joe Graham <randalar@gmail.com>, freebsd-questions@freebsd.org
Subject:   Re: Help! Stupid Newbie Question
Message-ID:  <6.2.3.4.2.20050924132414.064d4bd0@cobalt.antimatter.net>
In-Reply-To: <4564bbf205092413161cb86d75@mail.gmail.com>
References:  <4564bbf205092413161cb86d75@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
At 01:16 PM 9/24/2005, Joe Graham wrote:
>Hello,
>  I've been playing off and on with FreeBSD for a bit of time now, but I
>would still consider myself a relative newbie. I've read enough and played
>enough to know how to install applications from ports (e.g., I was able to
>successfully install Moria just by reading the pages I could find). My
>latest endeavor has been to attempt to install MySQL. I've recently
>installed FreeBSD 5.9 on my system,

5.9?  Maybe you meant 4.9?  If so, you'd be better off with a newer version.

>  and was attempting to use the ports
>directory to install it. After going to /usr/ports/databases/mysql40-server
>(mysql50-server failed, couldn't find the file anywhere to download
>apparantly) and running make then make install, I've come across a hurdle.
>The hurdle is rather embarrassing, but is sort of simple (and likely obvious
>to te guys on this list). How do I get the server software to run? I know I
>can't use mysql the client until the server software is running, but I dunno
>the proper steps to take.

If the port you installed was relatively recent, you just need 
mysql_enable="YES" in your rc.conf.

If it's an older port, look for a sample startup script in 
/usr/local/etc/rc.d.  You just need to rename it so that it ends in 
.sh and it will start at boot time.

-Glenn

>  I know, it's a fairly stupid question, but I seem
>incompetent at finding the right instructions to get it going. If someone
>could please point me in the right direction to look around so I know what
>steps I need to do next, I would be greatly appreciative. I'm able to find
>methods to perform certain operations, but naturally it needs to have the
>server software actually running :D Many many thanks to anyone who can help
>me out.
>--Joe G.
>_______________________________________________
>freebsd-questions@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.2.3.4.2.20050924132414.064d4bd0>