Mysql Installation query

Greg 'groggy' Lehey grog at
Tue Sep 13 19:04:25 PDT 2005

On Tuesday, 13 September 2005 at 18:46:38 -0700, Vizion wrote:
> I notice that the manual from includes the following
> comments:
> -----------------------------------------------
> The recommended way to compile and install MySQL on FreeBSD with gcc (2.95.2
> and up) is:
> CC=gcc CFLAGS="-O2 -fno-strength-reduce" \
>     CXX=gcc CXXFLAGS="-O2 -fno-rtti -fno-exceptions \
>     -felide-constructors -fno-strength-reduce" \
>     ./configure --prefix=/usr/local/mysql --enable-assembler
> gmake
> gmake install
> cd /usr/local/mysql
> bin/mysql_install_db --user=mysql
> bin/mysqld_safe &
> ------------------------------------------------
> Does anyone know if the above recomendations also apply to:
> drwxr-xr-x  4 root  wheel     512 Sep  9 12:42 mysql50-client
> drwxr-xr-x  3 root  wheel     512 Sep  4 19:11 mysql50-scripts
> drwxr-xr-x  6 root  wheel     512 Sep  8 08:12 mysql50-server
> and the other databases/mysql*

I suppose they apply, but are they correct?  For all versions of MySQL
I'd recommend using the ports collection, as with every other FreeBSD

As of tomorrow, I'll be working for MySQL, so I will pay special
attention to MySQL problems on FreeBSD.  One of the things I'll be
looking at is bringing FreeBSD and MySQL recommendations into line
with each other.

Note the (unchanged) .sig to this message: please don't contact me
directly with topics of interest to FreeBSD-questions, unless you have
a good reason (like if you think I've missed something altogether).

When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see
See complete headers for address and phone numbers.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list