Install MySQL Server using binary package or ports method
Install MySQL v5.0 server
Method # 1: Binary installation method
Login as the root user and type following command :
# pkg_add -r -v mysql5-server
Output:looking up ftp.freebsd.orgMethod # 2: Use FreeBSD Ports collection
connecting to ftp.freebsd.org:21
setting passive mode
opening data connection
initiating transfer
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.0-release/Latest/mysql50-server.tbz...x +CONTENTS
x +COMMENT
x +DESC
....
....
.....
..
First Install MySQL server 5.0:
# cd /usr/ports/database/mysql50-server
# make
# make install
# make clean
Next Install MySQL client 5.0:
# cd /usr/ports/database/mysql50-client
# make
# make install
# make clean
Automatically start MySQL server up at system initial boot time
Introduction : Installing and configuring MySQL server


