--localstatedir==/usr/local/mysqldata //数据库存放目录
--with-big-tables //启用大表
--with-charset=utf8
--with-collation=utf8_bin
--with-extra-charsets=big5,ascii,gb2312,gbk,utf8,latin1
--with-embedded-server //编译成embedded MySQL library (libmysqld.a),
--enable-local-infile //允许从本地导入数据
--enable-assembler //汇编x86的普通操作符,可以提高性能
--with-plugins=innobase //数据库插件
--with-plugins=partition //分表功能,将一个大表分割成多个小表
输入完以后 按 enter键
编译MySQL时出现configure: error: No curses/termcap library found
增加 这个配置 --with-named-curses-libs=/usr/lib64/libncursesw.so.5 (路径可以根据自己的实际情况修改)
5 make
6
linux 系统安装 mysql,布布扣,bubuko.com
原文:http://www.cnblogs.com/jackspider/p/3583378.html