Thursday, May 22, 2008

MySQL Community Version

Installing MySQL from tar.gz Packages on Other Unix-Like Systems

Ini adalah tatacara untuk install MySQL community version dalam Linux Redhat Enterprise 4.

shell> groupadd mysql
shell> useradd -g mysql mysql
shell> cd /usr/local
shell> gunzip < /path/to/mysql-VERSION-OS.tar.gz tar xvf -
shell> ln -s full-path-to-mysql-VERSION-OS mysql
shell> cd mysql
shell> chown -R mysql .
shell> chgrp -R mysql .
shell> scripts/mysql_install_db --user=mysql
shell> chown -R root .
shell> chown -R mysql data
shell> bin/mysqld_safe --user=mysql &


No comments: