You need a MySQL connector for .NET, this one, for example .
let connectionStr = "Data Source=localhost; Port=3306; User ID=root; Password=q1w2e3;"
let connection : IDbConnection = upcast new MySql.Data.MySqlClient.MySqlConnection(connectionStr)
See the System.Data documentation for more information .
Hope this will be helpful.
source
share