Install MySQL freeBSD

9 Juli 2009

1. Login sebagai root

2. muslim# cd /usr/ports/databases/mysql50-server

make install clean

mysql_install_db –user=mysql
chown -R mysql /var/db/mysql/
chgrp -R mysql /var/db/mysql/
/usr/local/bin/mysqld_safe -user=mysql &

catatan : jika ada error lakukan command rehash

3. Jika proses konfigurasi selasai ganti user dan password

mysqladmin -u root password newpassword
4. Enable otomatis  saat booting

echo ‘mysql_enable=”YES”‘ >> /etc/ rc.conf

5. Opsional aja

copy either my-huge.cnf, my-large.cnf, my-medim.cnf, my-small.cnf or my-innodb-heavy-4G.cnf (depending on the usage and utilization of MySQL server) as my.cnf to /var/db/mysql which will enable you to tweak and change the configuration of server-specific MySQL server options by editing the file.

6. Installasi selesai.

Sumber  : telah dipraktekan dan running diserver localhost dari

 http://www.mydigitallife.info/2006/04/13…



Jadilah orang pertama yang menyukai tulisan ini
Apakah anda menyukai tulisan ini ?

Entry Filed under: FreeBSD. Tag: .




Kategori

Tulisan Terakhir

Tag

Gallery

23943-drupal-b.jpg 20086-drupal-b.jpg 23076-drupal-b.jpg 24000-drupal-b.jpg

Slideshow

Get the Flash Player to see the slideshow.

Arsip

 

Januari 2012
S S R K J S M
« Jul    
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Blogroll

Tutorial

Komentar Terakhir