与.NET的MySQL连接 [英] MySQL Connection with .NET

查看:116
本文介绍了与.NET的MySQL连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我需要将.Net与MySql数据库连接.
任何人都可以向我提供.NET的连接字符串和提供程序.


/>问候,

Afreen


Hi,

I need to connect .Net with the MySql database.
Can anyone please provide me the connection string and the provider for the .NET.

Regards,

Afreen


推荐答案

Afreen,
  ;连接字符串将采用以下格式.
      字符串MyConString ="SERVER = localhost;" +" DATABASE = mydatabase;" +" UID = testuser;" +" PASSWORD = testpassword;;

 有关更多信息,请通过下面的链接.
    http://dev.mysql.com/tech-resources/articles/dotnet/index.html

Hi Afreen,
  The connection string would be in the format below.
       string MyConString = "SERVER=localhost;" + "DATABASE=mydatabase;" + "UID=testuser;" + "PASSWORD=testpassword;";

  For more info, please go throgh the link below.
    http://dev.mysql.com/tech-resources/articles/dotnet/index.html


这篇关于与.NET的MySQL连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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