mysql编译参数

./configure \
 --prefix=/web/mysql --sysconfdir=/web/mysql    \
 --without-debug     --enable-assembler         \
 --with-mysqld-ldflags=-all-static              \
 --with-client-ldflags=-all-static              \
 --with-unix-socket-path=/tmp/mysql.sock        \
 --with-mysqld-user=mysql                       \
 --with-extra-charsets=utf8,gbk,gb2312          \
 --with-innodb                                  \
 --with-mysqld-user=mysql                       \
 --with-charset=utf8 --with-collation=utf8_unicode_ci

如果需要支持表分区, 需要添加 --with-partition

 

你可能感兴趣的:(mysql,Web,unix,socket)