阅读背景:

使用Ole Db提供程序无法通过C#找到postgres数据库

来源:互联网 

I'm trying to access some postgresSQL databases set up on a linux server we've set up, previously we've been using access and and SQL server 2008 and connecting just fine with C# Ole Db, but we're trying to see if we can make the move to postgres since it would be more convenient. I can access these databases on the linux machine perfectly fine using ODBC Data Source Administrator which tests the connection the database successfully, PG Admin III which shows all the databases just fine, and also psql can access these databases perfectly fine. However when I try to connect using Ole DB through Visual Studio and the connection string something like:I'm trying to access some postgresSQL databases




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: