|
shell> groupadd mysql% H6 n# j1 U& \
shell> useradd -g mysql mysql" q2 u0 S* ?3 i& `5 l9 p) A
# Source-build specific instructions
' S+ ]3 h w! b b" m2 W& gshell> gunzip < mysql-VERSION.tar.gz | tar -xvf -
. K3 F( V$ O- dshell> cd mysql-VERSION
! i1 ]6 S7 Z) Z" v) \+ Zshell> ./configure --prefix=/usr/local/mysql$ ^$ y7 @$ k. G6 E
shell> make
+ z! C# v; ^" U( [$ d0 G. @shell> make install
4 G, N+ W# n* w# End of Source-build specific instructions
6 x! n+ h5 R5 `8 _. Vshell> cd /usr/local/mysql9 `) [$ Q2 O! x K+ \9 C8 g) H" w, z
shell> chown -R mysql .: i5 ^- X1 X+ F6 m3 J3 ]+ c
shell> chgrp -R mysql .7 }7 w" P/ }% u, P+ s
shell> bin/mysql_install_db --user=mysql' H6 i# \# x! ~
shell> chown -R root .
0 ^( Y9 C: m9 o H" Mshell> chown -R mysql var* B1 y% \. @/ q3 X" L
shell> cp support-files/my-medium.cnf /etc/my.cnf #optional
8 ^; f; }5 u. s; K+ C4 d" h: fshell> bin/mysqld_safe --user=mysql &% _2 W r7 H) |2 z$ Q4 X
shell> cp /usr/local/mysql/support-files/mysql.server /etc/init.d/mysq0 q0 h9 k) l! _; n1 }: @ K) `2 h
l.server # Optional |
|