Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

C# and MySQL

Status
Not open for further replies.

Laeg

Programmer
Nov 29, 2004
95
IE
Is it possible to connect and retrieve/manipulate data with existing .NET objects in C# without installing MySQL Connector?

I have been trying the following connection string format without success.
Code:
<appsettings>
 <add key="C_MY_DSN" value="Provider={MySQL ODBC 3.51 Driver};server=MyServer;database=MyDB;UID=sa;password=password"/>
</appsettings>
I have also tried ...

Code:
<connectionStrings>
 <add name="C_MY_DSN" connectionString="Server=MyServer;Database=MyDB;User ID=sa;Password=password" providerName="MYSQL"/>
	</connectionStrings>


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top