[ad_1]
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.
[ad_2]
solved SqlConnection.Open throwing exception C#