.NET Connection string for mySQL

The following example is a connection string for use with a native .net driver for mySQL.


sConnectString = "Data Source=sqlX.sqlsvr.net;Database=yourDBname;User ID=yourUser;Password=yourPassword"

Dim oCon As New MySqlConnection(sConnectString)




NOTE: The connection string may vary depending on your native drivers implementation.

Add Feedback