Created
May 5, 2010 15:03
-
-
Save adamhunter/390897 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| groupadd mysql | |
| useradd -g mysql mysql | |
| gunzip < mysql-VERSION.tar.gz | tar -xvf - | |
| cd mysql-VERSION | |
| CFLAGS="-O3" CXX=gcc CXXFLAGS="-O3 -felide-constructors \ | |
| -fno-exceptions -fno-rtti" ./configure \ | |
| --prefix=/usr/local/mysql-VERSION --enable-assembler \ | |
| --with-mysqld-ldflags=-all-static --with-plugins=innobase | |
| make | |
| make install | |
| cp support-files/my-medium.cnf /etc/my.cnf | |
| ln -s /usr/local/mysql-VERSION /usr/local/mysql | |
| cd /usr/local/mysql | |
| chown -R mysql . | |
| chgrp -R mysql . | |
| bin/mysql_install_db --user=mysql | |
| chown -R root . | |
| chown -R mysql var | |
| bin/mysqld_safe --user=mysql & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment