带有 Data.odbc 的 C# 应用程序无法在不同的计算机上运行..要包含什么?
我有一个使用命名空间 data.odbc 的应用程序,以便与 MySQL 一起使用。我在不同的电脑上尝试过,该应用程序可以工作,但是当 odbc 对象应该工作时,它什么也不做。我想缺少一些东西 - 我认为它会自动包含在内。 我查看了应用程序文件 - 所有文件都包含在内。我尝试过添加引用,但没有 system.data.odbc :( 编辑:在代码中,我没有使用任何对 MySQL Connector 之类的东西的引用,它可以在我的机器上运行。 感谢您的帮助
I have an app with the use of namespace data.odbc in order to work with MySQL. I have tried it on different PC, the app works but when the odbc object should work, it does nothing. I suppose something is missing - I thought its automatically included.
I have looked into app files - all are included. I have tried Add reference but there is no system.data.odbc :(
EDIT: In the code I am not using any references to stuff like MySQL Connector and it works on my machine.
Thank you for your help
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
也许在 PC 上安装连接器
MySQL
编辑:
“什么都不做”就是没有结果?没有错误怎么办?
在目标计算机上安装 MySQL 驱动程序 LINK
Maybe install the connector on the PC
MySQL
EDIT:
'Does nothing' as in no results? No error what so ever?
Install MySQL drivers on target machine LINK