FreeBSD Cookbook

My notes on the principles and practices of software related issues such as compiler, assembler, graphical user interface, and operating system design. I am currently learning these topics at university and FreeBSD as UNIX operating system for study purpose.
nixCraft » FreeBSD CookBook

Install MySQL Server using binary package or ports method

MySQL is one the best and fast database server for setting and using up under FreeBSD. You can install MySQL server using FreeBSD ports collection or install using binary packages from FreeBSD ftp server (which is quite fast as compare to 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

looking up
connecting to
setting passive mode
opening data connection
initiating transfer
Fetching +CONTENTS
Method # 2: Use FreeBSD Ports collection
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

0 User Contributed Notes:

<< Home

Powered by blogger