SqlConnection.Open throwing exception C#

Its Clear that you are using MySQL And You are using SqlClient which supports MSSQL change your database dataprovider to MySQL and use MySql.Data.MySqlClient.MySqlConnectioninstead.

Leave a Comment