带有mysql数据库的asp.net [英] asp.net with mysql database

查看:88
本文介绍了带有mysql数据库的asp.net的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想用mysql数据库在asp.net中创建应用程序.
我进行了搜索,但无法找出正确的方法.
谁能帮我解决以下问题:

1.如何为ASP .NET安装mysql数据库
2.在我的机器上,我已经安装了sql server 2008,安装mysql会影响sql server2008.
3.与sqlclient之类的sql一样,Mysql是否有任何DLL.

请在这方面帮助我.

在此先感谢.

I want to create application in asp.net with mysql database.
I did search but could not able to figure out the correct way.
Can anyone help me out with following problems:

1. How i can install mysql database for ASP .NET
2. In my machine,I have sql server 2008 is installed, installation of mysql would effect on sql server 2008.
3. Is there any DLL for Mysql as we have for sql like sqlclient.

Please help me in this regard.

Thanks in Advance.

推荐答案

步骤描述得很好^ ].
The steps are nicely described here[^].




与MySQL一起使用非常容易,就像您已经在使用SQL Server一样.

首先从以下链接下载最新版本.

http://dev.mysql.com/downloads/mysql/ [ http://dev.mysql.com/doc/refman/5.1/en/connector-net-ref-mysqlclient.html [ http://dev.mysql.com/downloads/ [
Hi,

Its very easy work with MySQL as if you already work with SQL Server.

First download the latest version from the following link.

http://dev.mysql.com/downloads/mysql/[^]


After installing it will give the MySQL.Data.DLL namespace.

Add this .dll to your solution and work as you work with SQL Server.

The above namespace,having all classes as there in System.Data.SQLClient.

Refer the following links.

1. http://dev.mysql.com/doc/refman/5.1/en/connector-net-ref-mysqlclient.html[^]

2. http://dev.mysql.com/downloads/[^]

Regards,
Kiran.


这篇关于带有mysql数据库的asp.net的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆