PostgreSQL 8.1.3 을 리눅스에 다음과 같은 방법으로 설치
했습니다
그리고 윈도우 클라이언트로 ODBC 로 연결을 하려하는데 연결에러가
나네요..
무엇인가 빠진거 같은데요
무엇을 추가하면되죠?
풀기
[root@localhost src]# tar -xvzf postgresql-base-8.1.3.tar.gz
컴파일
[root@localhost src]# ./configure --enable-multibyte
--enable-locale \
> --enable-nls=ko --with-CXX --enable-odbc
설치 make INSTALL
사용자추가 [root@localhost src]# adduser
postgres
[root@localhost src]# passwd postgres
Changing password for user postgres
New UNIX password:
디렉토리생성 / 권한부여
[root@localhost src]# mkdir /usr/local/pgsql/data
[root@localhost src]# chown postgres.postgres
/usr/local/pgsql/data
[root@localhost src]# chmod 700 /usr/local/pgsql/data
사용자변환
[root@localhost src]# su - postgres
DB 시작 Initdb ?D
/usr/local/pgsql/data
/usr/local/pgsql/bin/pg_ctl -D /usr/local/pgsql/data -l logfile
start
|