database.sarang.net
UserID
Passwd
Database
DBMS
MySQL
ㆍPostgreSQL
Firebird
Oracle
Informix
Sybase
MS-SQL
DB2
Cache
CUBRID
LDAP
ALTIBASE
Tibero
DB 문서들
스터디
Community
공지사항
자유게시판
구인|구직
DSN 갤러리
도움주신분들
Admin
운영게시판
최근게시물
PostgreSQL Q&A 1409 게시물 읽기
No. 1409
php에서 postgres 연동이 계속 안되요. T.T
작성자
한창희
작성일
2000-07-13 21:22
조회수
6,471

알려주신대로.. php에서.. postgres를 연동할 수 있게 해고요..

그래서 phpinfo() 하면..

 

MySQL Allow persistent links: Yes

Persistent links: 1/Unlimited

Total links: 1/Unlimited

Client API version: 3.22.30

Compilation definitions: MYSQL_INCLUDE=

MYSQL_LFLAGS=

MYSQL_LIBS=

 

PostgreSQL Allow persistent links: Yes

Persistent links: 0/Unlimited

Total links: 0/Unlimited

Compilation definitions: PGSQL_INCLUDE=

PGSQL_LFLAGS=

PGSQL_LIBS=

 

 

 

이렇게 추가가 됐어요.. 그럼 mysql과 postgresql 다 쓸 수 있는 것 맞죠??

 

근데..

 

$dbconn=pg_connect("ip","5432","user","password","DBname") or die ("디비접속 실패");

 

했더니만 이런 에러가 뜨네요..

 

Warning: Unable to connect to PostgresSQL server: pqReadData() // backend closed the channel unexpectedly. This probably means the backend terminated abnormally before or while processing the request. in dbconn2.inc on line 6

디비접속 실패

 

도대체 어떻게 해야 되죠? 며칠 째 이것만 붙잡고 있네요.. 도와주세요..

[Top]
No.
제목
작성자
작성일
조회
1415[급] odbc가 안될때 대용량데이터를 db에 입력하는 방법..
홍창균
2000-07-14
6357
1414[급]odbc 및 postgresql 연동및 대량 데이터 입력에 대한 질문입니다..
홍창균
2000-07-14
6568
1417┕>Re: [급]odbc 및 postgresql 연동및 대량 데이터 입력에 대한 질문입니다..
정재익
2000-07-14 12:18:15
7053
1413답변좀 해주세요...
나영수
2000-07-14
6387
1409php에서 postgres 연동이 계속 안되요. T.T
한창희
2000-07-13
6471
1412┕>Re: php에서 postgres 연동이 계속 안되요. T.T
정재익
2000-07-14 00:04:39
7742
1406oid 가 같을 수 있나요????
초보자
2000-07-12
6693
1407┕>Re: oid 가 같을 수 있나요????
정재익
2000-07-13 01:47:35
7298
1410 ┕>Re: Re: oid 가 같을 수 있나요????
초보자
2000-07-13 23:07:40
6894
1411  ┕>Re: Re: Re: oid 가 같을 수 있나요????
정재익
2000-07-13 23:57:58
7254
1400C++ API 예제...
onions
2000-07-12
7011
1408┕>Re: C++ API 예제... + ODBC 질문하나더
onions
2000-07-13 08:42:39
7438
1399vb6.0 :ADO <==> postgresql odbc6.5 <==> postgresql7.0 beta
나영수
2000-07-12
7003
1403┕>Re: vb6.0 :ADO <==> postgresql odbc6.5 <==> postgresql7.0 beta
이채원
2000-07-12 21:03:42
9500
1404 ┕>Re: Re: vb6.0 :ADO <==> postgresql odbc6.5 <==> postgresql7.0 beta
나영수
2000-07-12 21:30:42
7754
1450  ┕>Re: Re: Re: vb6.0 :ADO <==> postgresql odbc6.5 <==> postgresql7.0 beta
이채원
2000-07-23 21:08:40
7737
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2024 DSN, All rights reserved.
작업시간: 0.022초, 이곳 서비스는
	PostgreSQL v16.2로 자료를 관리합니다