why it is impossible to connect to the data base?
BELEM Mahamadou <[email protected]> Mon, 23 Jun 2008 16:46:43 +0000 (GMT)
| Newsgroups | gmane.comp.db.postgresql.cygwin |
|---|---|
| Message-ID | <[email protected]> |
--0-686662653-1214239603=:67938
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Dear all=0A=0AI tried to connect my data base using a C++ program.=0A=0AI u=
se the following instructions but it is impossible to make the connection.=
=0ACan someone explain me the problem.=0A=0A=0A PGconn *conn;=0A conn =3D P=
QsetdbLogin("localhost",=0A NULL,=0A =
NULL,=0A NULL,=0A "database",=0A =
"user",=0A "password");=0A=0ABest r=
egards=0A=0A=0A ______________________________________________________=
_______________________ =0AEnvoyez avec Yahoo! Mail. Une boite mail plus in=
telligente http://mail.yahoo.fr
--0-686662653-1214239603=:67938
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
<html><head><style type=3D"text/css"><!-- DIV {margin:0px;} --></style></he=
ad><body><div style=3D"font-family:times new roman, new york, times, serif;=
font-size:12pt">Dear all<br><br>I tried to connect my data base using a C++=
program.<br><br>I use the following instructions but it is impossibl=
e to make the connection.<br>Can someone explain me the problem.<br><br><di=
v> PGconn *conn;<br> conn =3D PQsetdbLogin("localhost",<br> =
&nb=
sp; NULL,<br> &n=
bsp;  =
; NULL,<br> &nbs=
p; =
NULL,<br> =
"database",<br>  =
; "user",<br>&n=
bsp;  =
; "password");<br><br>Best regard=
s<br></div><br></div><br>=0A=0A=0A <hr size=3D"1"> =0AEnvoy=C3=A9 avec=
<a href=3D"http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http://us.r=
d.yahoo.com/evt=3D52423/*http://fr.docs.yahoo.com/mail/overview/index.html"=
>Yahoo! Mail</a>.<br>Une boite mail plus intelligente. </a></body></html>
--0-686662653-1214239603=:67938--