groupadd mysql
useradd -g mysql mysql
gunzip < mysql-VERSION.tar.gz | tar -xvf -
mysql-VERSION
cd mysql-VERSION
configure script.
./configure --prefix=/usr/local/mysql
make
root
make install
cp support-files/my-medium.cnf /etc/my.cnf
cd /usr/local/mysql
chown -R mysql:mysql .
bin/mysql_install_db --user=mysql
chown -R root .chown -R mysql var
bin/mysqld_safe --user=mysql &
rpmbuild --rebuild --clean MySQL-VERSION.src.rpm
What are some typical configure options?
© 2007 John Michael Pierobon