Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

人大金仓数据库连接异常 #931

Closed
xuanhuangkeji opened this issue Nov 5, 2021 · 2 comments
Closed

人大金仓数据库连接异常 #931

xuanhuangkeji opened this issue Nov 5, 2021 · 2 comments
Labels
docs This is a document good first issue Good for newcomers

Comments

@xuanhuangkeji
Copy link

问题描述及重现步骤:

直接导入包FreeSql.Provider.KingbaseES
测试代码:
var connStr = "Server=xxxxxx;Port=60049;UID=system;PWD=123456;database=test;MAXPOOLSIZE=2";

        var fsql = new FreeSqlBuilder()
            .UseConnectionString(DataType.KingbaseES, connStr)
            .Build();

直接提示密码认证失败
若是使用OdbcKingbaseES,再导入odbc包会一直提示找不到没有数据源名称

另一个群里的朋友遇到的人大金仓的问题
image

数据库的具体版本

KingbaseES V008R006C005B001

安装的包

FreeSql.Provider.KingbaseES

.net framework/. net core? 及具体版本

.net framework 4.5/4.6.1
.net 5

PS:直接从官方下载ndp包,然后覆盖对应的Kdbndp.dll,问题解决,可以正常运行
但是每次生成发布都会覆盖掉,都要重新覆盖

@luoyunchong luoyunchong added good first issue Good for newcomers docs This is a document labels Apr 1, 2022
@2881099
Copy link
Collaborator

2881099 commented May 17, 2022

如果有必要,请 PR 一下最新的 Kdbndp.dll

@luoyunchong
Copy link
Collaborator

https://www.kingbase.com.cn/qd/index.htm ado.net 驱动这里可以下载

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs This is a document good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants