Linux下MySQL configure参数

--prefix=/program/mysql 安装路径

--localstatedir=/var/lib/mysql 数据库文件存放路径

--with-comment=Source

--with-server-suffix=-Community

--with-mysqld-user=mysql

--without-debug

--with-big-tables

--with-charset=gbk utf8

--with-collation=gbk_chinese_ci utf8_unicode_ci

--with-extra-charsets=all

--with-pthread

--enable-static

--enable-thread-safe-client

--with-client-ldflags=-all-static

--with-mysqld-ldflags=-all-static

--enable-assembler

--without-innodb

--without-isam

--without-ndb-debug

--with-unix-socket-path=/home/mysql/tmp/mysql.sock

Leave a Reply

Your email address will not be published.