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.MySqlConnection
instead.
solved 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.MySqlConnection
instead.
solved SqlConnection.Open throwing exception C#