Quick Installation Overview
---------------------------
The basic commands you must execute to install a MySQL source
distribution are:
shell> groupadd mysql
shell> useradd -g mysql mysql
shell> gunzip < mysql-VERSION.tar.gz | tar -xvf -
shell> cd mysql-VERSION
shell> ./configure --prefix=/usr/local/mysql
shell> make
shell> make install
shell> scripts/mysql_install_db
shell> chown -R root /usr/local/mysql
shell> chown -R mysql /usr/local/mysql/var
shell> chgrp -R mysql /usr/local/mysql
shell> cp support-files/my-medium.cnf /etc/my.cnf
shell> /usr/local/mysql/bin/safe_mysqld --user=mysql &
Ãâó
bash-2.05$ pwd
/mysql-3.23.52
bash-2.05$ ls -al INSTALL-SOURCE
-rw-r--r-- 1 503 100 1836608 2002³â 8¿ù 14ÀÏ INSTALL-SOURCE <-- ¿ä°Å½Ã
bash-2.05$
|