[thelist] Help! Installing MySQL 4.1 on FreeBSD

Simon Perry thelist at si-designs.co.uk
Fri May 14 12:45:54 CDT 2004


Ken Moore wrote:

> Hi all,
>
> I am new to Linux and installing programs. I have a remote server, 
> FreeBSD, with MySQL 3.23.46 and need to upgrade to 4.1.X. I did the 
> following:
>
> # mkdir /usr/local/mysql/data
> # mkdir /usr/local/mysql/tmp
> # mkdir /usr/local/mysql/var
> # cd /usr/src
> # tar -vzxf mysql-standard-4.1.1-alpha-pc-linux-i686.tar.gz
> #cd /usr/src/mysql-standard-4.1.1-alpha-pc-linux-i686.tar.gz
> # ./configure --prefix=/usr/local/mysql 
> --localstatedir=/usr/local/mysql/data 
> --with-unix-socket-path=/usr/local/mysql/tmp/mysql.socket
>
Ken,

FreeBSD makes it very easy to install and manage software via the ports 
collection [0] . MySQL 4.1.1 is a available as a FreeBSD port [1], I 
would suggest that this would be your best option. If you are not 
familiar with the ports collection then you should read through the 
guide on the first link where you will find instruction for adding new 
packages or upgrading existing ones.

Simon

[0] 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html
[1] http://www.freebsd.org/ports/databases.html


More information about the thelist mailing list