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

达梦8使用code first模式创建表的时候提示权限不足 #1986

Open
zgmqdl opened this issue Mar 3, 2025 · 1 comment
Open

达梦8使用code first模式创建表的时候提示权限不足 #1986

zgmqdl opened this issue Mar 3, 2025 · 1 comment

Comments

@zgmqdl
Copy link

zgmqdl commented Mar 3, 2025

问题描述及重现代码:

  IFreeSql fsql = new FreeSql.FreeSqlBuilder()
            .UseConnectionString(FreeSql.DataType.Dameng, "server=127.0.0.1;port=30236;user=Test;password=Test_202;database=Test_DB;poolsize=5")
            .UseAutoSyncStructure(false)
            .Build();
        fsql.CodeFirst.SyncStructure<Student>();  

达梦8使用code first模式创建表的时候提示权限不足
Unhandled exception. System.Exception: 没有创建表权限 [sql]: {declare

数据库版本

DM8

安装的Nuget包

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

.net 9

@2881099
Copy link
Collaborator

2881099 commented Mar 3, 2025

监视sql,拿到管理工具分析原因

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants