Mysql 3.X
./configure \
--prefix=/usr/www/mysql \
--localstatedir=/usr/www/mysql/data \
--with-extra-charsets=complex \
--enable-thread-safe-client \
--enable-local-infile \
--with-client-ldflags=-all-static \
--with-mysqld-ldflags=-all-static \
--enable-assembler \
--with-charset=euc_kr
Mysql 4.0.X
./configure \
--prefix=/usr/www/mysql \
--localstatedir=/usr/www/mysql/data \
--with-extra-charsets=complex \
--enable-thread-safe-client \
--enable-local-infile \
--disable-shared \
--with-client-ldflags=-all-static \
--with-mysqld-ldflags=-all-static \
--enable-assembler \
--with-charset=euc_kr
Mysql 4.1.X
./configure \
--prefix=/usr/local/mysql --localstatedir=/home/mysqlData \
--enable-assembler \
--enable-local-infile \
--disable-shared \
--with-extra-charsets=complex \
--with-client-ldflags=-all-static \
--with-mysqld-ldflags=-all-static \
--with-mysqld-user="mysql" \
--with-readline --without-debug \
--with-thread-safe-client \
--with-charset=euckr \
--without-docs \
--without-bench
Mysql 5.X
./configure \
--prefix=/usr/local/mysql --localstatedir=/home/mysqlData \
--enable-assembler \
--enable-local-infile \
--disable-shared \
--with-extra-charsets=complex \
--with-client-ldflags=-all-static \
--with-mysqld-ldflags=-all-static \
--with-mysqld-user=mysql \
--with-readline \
--with-thread-safe-client \
--with-charset=euckr \
--without-debug \
--without-docs \
--without-bench
'개발자 > Server' 카테고리의 다른 글
톰켓 심볼릭 링크 인식하기 (1) | 2019.01.03 |
---|---|
PHP CONFIGURE (0) | 2014.05.23 |
mysql 외부연결 (0) | 2014.05.23 |
Sendmail 계정 추가방법 (0) | 2014.05.23 |
YUM을 이용한 APM설치 (0) | 2014.05.23 |