4.1.xインストール
4.1.22
% sudo mkdir -p /usr/local/mysql_type/ % cd ~/src/mysql/mysql-4.1.22 % sudo /path/to/build-mysql.sh % sudo cp ~/src/mysql/mysql-4.1.22/support-files/my-medium.cnf /etc/my.cnf % sudo ln -s /usr/local/mysql_type/mysql-4.1.22 /usr/local/mysql % sudo /usr/local/mysql/bin/mysql_install_db --user=mysql
build-mysql.sh
PREFIX='/usr/local/mysql_type/' build() { make distclean ./configure \ CFLAGS=-O2 \ --prefix=${1} \ --with-extra-charsets=all \ --with-isam \ --with-innodb \ --with-archive-storage-engine \ --with-csv-storage-engine \ --with-blackhole-storage-engine \ --with-zlib-dir=/opt/local/ \ --without-debug \ --without-man \ --without-docs \ && make } VER=`basename $PWD` PREFIX=${PREFIX}${VER} build ${PREFIX} sudo make install