./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;看下