why it is impossible to connect to the data base?

View: New views
1 Messages — Rating Filter:   Alert me  

why it is impossible to connect to the data base?

by BELEM Mahamadou :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
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.
LightInTheBox - Buy quality products at wholesale price!