why it is impossible to connect to the data base?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

why it is impossible to connect to the data base?

BELEM Mahamadou
Dear all

I tried to connect my data base using a C++ program.

I use the following instructions  but it is impossible to make the connection.
Can someone explain me the problem.

 PGconn *conn;
 conn = PQsetdbLogin("localhost",
                     NULL,
                     NULL,
                     NULL,
                     "database",
                     "user",
                     "password");

Best regards



Envoyé avec Yahoo! Mail.
Une boite mail plus intelligente.