[MYSQL] mysql의 client library 설치하기

mysql 5.0 이상버전의 소스로 컴파일하여 설치할 때에는 client library를 별도로 한번 더 컴파일해주어야 했다.

mysql 설치 후

./configure \

–enable-thread-safe-client \

–with-charset=euckr \

–without-server \

–without-query-cache \

–without-docs \

–without-man \

–without-bench \

–without-readline \

–without-libedit

make && make install

위와 같이 prefix 를 지정하지 않고 MySQL 클라이언트만을 설치할 경우에는 /usr/local/lib/mysql 디렉토리에 library들이 설치된다.

그리고 /usr/local/bin/ 디렉토리에 실행스크립트를 비롯한 MySQL 관련 파일들이 자리잡게 된다.

댓글 달기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다

Scroll to Top