Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jan 2012 11:24:54 +1000
From:      Da Rock <freebsd-questions@herveybayaustralia.com.au>
To:        freebsd-questions@freebsd.org
Subject:   Re: MySQL Localhost install - Was: Hello
Message-ID:  <4F1E0866.1060605@herveybayaustralia.com.au>
In-Reply-To: <167521327352785@web17.yandex.ru>
References:  <167521327352785@web17.yandex.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On 01/24/12 07:06, Crow wrote:
> I want to create MySQL localhost.
Can you provide some more information? Like which version of FreeBSD you 
are using (or other OS if you happen to be needing other support), what 
you have completed so far, other parameters that you are able to tell us 
which may have a bearing on your situation.

Generally you can install from ports:

If you haven't already installed ports (try cd /usr/ports), then as root 
run portsnap fetch extract.

If you have installed ports, then cd 
/usr/ports/databases/mysql55-server, and then make && make install && 
make clean.

Then in /etc/rc.conf you will need mysql_enable="YES" and you can look 
at the file /usr/local/etc/rc.d/mysql for how to set any flags you need. 
Usually you just have to set mysql_flags="<your flags here>" in rc.conf.

Hope that helps you get started, but if you need more then you'll have 
to supply more info.

Cheers



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