“字段列表”中的柚子未知列“X”

问题描述

MysqL 中使用 OpeniddictCore (https://github.com/openiddict/openiddict-core) Pomelo.EntityFrameworkCore.MysqL (https://github.com/PomeloFoundation/Pomelo.EntityFrameworkCore.MySql),我收到以下错误。我认为这是 Pomelo 库的问题,但我不确定。

有人可以帮忙吗?

*MysqLException: 'field list' 中的未知列 'o.displayNames' ServerSession.cs 中的 MysqLConnector.Core.ServerSession.ReceiveReplyAsyncAwaited(ValueTask task),第 806 行 MysqLException:“字段列表”中的未知列“o.displayNames” MysqLDataReader.cs 中的 MysqL.Data.MysqLClient.MysqLDataReader.ActivateResultSet(),第 130 行


MysqL.Data.MysqLClient.MysqLException (0x80004005): 'field list' 中的未知列 'o.displayNames' 在 //src/MysqLConnector/Core/ServerSession.cs:line 806 中的 MysqLConnector.Core.ServerSession.ReceiveReplyAsyncAwaited(ValueTask`1 task) 在 MysqLConnector.Core.ResultSet.ReadResultSetHeaderAsync(IOBehavior ioBehavior) 在 //src/MysqLConnector/Core/ResultSet.cs:line 51*

解决方法

根据我们 GitHub 存储库上的 Unknown column 'X' in 'field list' #1375,@Amyn 解决了这个问题:

这很可能只是您使用的技术的配置/设置问题。 [...]

谢谢。你说得对,我这边有问题。我让它在 SQL Server 上运行,然后更改为 mySQL 并且运行良好。对不起。请删除该问题,因为它不相关。