开发者

C# app with Data.odbc doesnt work on different machine..what to include?

开发者 https://www.devze.com 2022-12-11 09:49 出处:网络
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 su

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


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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号