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;'.
我曾嘗試不同的供應商,但他們都沒有工作。