MySQL ODBC fails in C# .NET project but not runtime compiled code

前端 未结 1 846
暗喜
暗喜 2021-01-26 00:57

I have a project in which I\'m accessing a MySql database on my web server via MySql ODBC driver 3.51. So far I\'ve stuck to writing the ASP.NET C# code for this web app in note

1条回答
  •  梦毁少年i
    2021-01-26 01:18

    Upgrading to MySql ODBC 5.1 Driver seems to have fixed the issue. Just installed the latest driver and updated the connection string from 3.51 to 5.1 and viola, it worked. Odd why - but oh well. Mine is not to question why...

    0 讨论(0)
提交回复
热议问题