You can translate the question and the replies:

postgresql connecting C# application dotnet framework 4.5,npgsql 4.0.4

I have used postgresql to connect the denodo, And these are the connection properties ; Name : test DB adapter : PostgreSQL 10 Driver class path: PostgreSQL-10 Driver class : org.postgresql.Driver Databae URI: jdbc:postgresql://localhost:5432/test Transaction isolation: Database default authentication: use login and password login : (postgresql username) password; (postgresql password) My Denodo Database structure : admin(Database) | | *******PostgreSql(folder) | | ********test(postgres database) car (table) test_proc (table) This is the code that I'm using to connect denodo platform : string query = "SELECT * FROM car"; string connectionString = "Server=localhost;Port=9996;Username=admin;Password=admin;Database=admin/test;Timeout=300;CommandTimeout=300"; try { using (NpgsqlConnection connection = new NpgsqlConnection(connectionString)) { connection.Open(); using (NpgsqlCommand command = new NpgsqlCommand(query, connection)) { HandleReader(command, maxRows); } } } catch(exception ex) { console.writeline(ex.message); } When I open the connection it shows an exception that shown below, When I use - database:admin " Received unexpected backend message ParseComplete. Please file a bug." When I use - database:test " : authentication error: Database 'test' not found" What Could be the issue? How to connect denodo db with connection string? is that need to use encryption? Could you please help me to undestand what is wrong in the above code?
user
22-06-2022 06:40:30 -0400

1 Answer

Hello, I could see an answer for a similar question [here](https://community.denodo.com/answers/question/details?questionId=906Du00000000EoIAI&title=How+do+i+connect+the+sql+%2Fpostgres+database+with+this+c%23+application%3F) Hope that's helpful.
Denodo Team
22-06-2022 07:23:29 -0400
You must sign in to add an answer. If you do not have an account, you can register here