[root@c64-web mysql-5.1.70]# ./configure --prefix=/usr/local/mysql5.1.17 --with-unix-socket-path=/usr/local/mysql/tmp/mysql.sock --localstatedir=/usr/local/mysql/data --enable-assembler --enable-thread-safe-client --with-mysqld-user=mysql --with-big-tables --without-debug --with-pthread --enable-assembler --with-extra-charsets=complex --with-readline --with-ssl --with-embedded-server --enable-local-infile --with-plugins=partition,innobase --with-mysqld-ldflags=-all-static --with-client-ldflags=-all-static
推荐阅读:
RedHat 6.3安装MySQL-server-5.6.13-1.el6.x86_64.rpm
Ubuntu 12.04下源代码安装MySQL5.6以及Python-MySQLdb