【问题标题】:Some updating commands could not be generated automatically the database returned the following error unexpected error某些更新命令无法自动生成数据库返回以下错误意外错误
【发布时间】:2018-11-03 15:14:34
【问题描述】:

我正在尝试添加到 MySql 服务器的连接,但是在尝试时我收到错误“无法自动生成一些更新命令,数据库返回了以下错误意外错误”我已经检查了我的用户的所有权限使用并重新安装了所有 MySQL 连接器等,但仍然没有。我做错了什么。

【问题讨论】:

    标签: c# mysql visual-studio


    【解决方案1】:

    [MySQL Data Source Wizard not working on Visual Studio 2017

    您可以尝试将 Connector/NET 更改为 6.9.8 版,并将 Visual Studio 的 MySQL 也更改为 1.2.7 版

    如果提示“Failed to add relation(s) Specified cast is not valid”。 不用担心,你可以正常构建项目,dataGridView会正常加载数据。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-02-18
      • 1970-01-01
      • 1970-01-01
      • 2018-07-17
      • 2023-03-03
      • 1970-01-01
      相关资源
      最近更新 更多