gentoo编译安装mysql5.1.x

Standard
./configure \
	--prefix=/usr/local/mysql \
	--enable-assembler \
	--without-debug \
	--with-mysqld-ldflags=-all-static \
	--with-charset=utf8 \
	--with-extra-charsets=all \
	--with-unix-socket-path=/usr/local/mysql/mysql.sock \
	--enable-thread-safe-client \
	--with-mysqld-user=mysql \
	--with-plugins=partition,heap,innobase,myisam
make
make install

ps:
在my.cnf [mysqld]下加上default-storage-engine=INNODB 保存.
重启后show engines;看下

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.