2
我很感兴趣如何找到连接字符串以便能够使用OleDbConnection(C#)连接到MySQL服务器5.1.50。查找使用OleDbConnection连接到MySQL服务器5.1.50的连接字符串
我使用这个自动生成的字符串(添加在Visual Studio中新的数据源后):
server=localhost;User Id=MyID;password=MyPassword;database=MyDatabase
,但我总是得到同样的错误信息:
An OLE DB Provider was not specified in the ConnectionString. An example would be, 'Provider=SQLOLEDB;'.
我曾尝试不同的供应商,但他们都没有工作。