问题
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?
回答1:
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
来源:https://stackoverflow.com/questions/15755664/asp-net-to-connect-mysql-server-without-using-odbc-or-any-driver