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

一世执手 提交于 2020-01-04 01:26:50

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!