Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ASP/.NET to connect MySQL Server without using ODBC or any driver?

In Classic ASP or .NET, is there a way to connect MySQL without using, for e.g, MySQL ODBC Driver or Any Driver which needs to be installed on the Server, assuming i'm not an admin or not having any permission to install anything?

like image 985
夏期劇場 Avatar asked Jan 31 '26 22:01

夏期劇場


1 Answers

First Download the MySql.Data.MySqlClient dll from here before select Platform .net/mono from dropdown list

add reference to your project. you are done.

its same as System.Data.SqlClient.

I hope it will help you

If you need documentation Click Here

like image 178
Gajendra Avatar answered Feb 03 '26 16:02

Gajendra



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!