i need connection string for mysql 5.1

how to connect mysql5.1 to webapplication 


5/4/2009 6:23:21 AM 1929 articles. 0 followers. Follow

2 Replies

Similar Articles

[PageSpeed] 20

 using MySql.Data.MySqlClient.MySqlConnection;



check the follwing Link..

hope it helps

Avinash Tiwari

Remember to click “Mark as Answer” on the post, if it helps you.
5/4/2009 6:34:44 AM

Hi There,

Connection to MySql 5.1 using ODBC

Driver={MySQL ODBC 5.1 Driver};Server=myServerAddress;Database=myDataBase;User=myUsername; Password=myPassword;Option=3;

More connectionstring

Simple Example connect via ODBC

Namespace to use

using System.Data.Odbc;

using (OdbcConnection conn = new OdbcConnection("YourConnectionString")) {using (OdbcCommand cmd = new OdbcCommand("SELECT * FROM TABLENAME", conn)) {


cmd.CommandType = CommandType.Text;

OdbcDataReader dr = cmd.ExecuteReader();

if (dr.Read()) {

string result = dr.GetString(1);





Don't forget to click "Mark as Answer" on the post that helped you.
This credits that member, earns you a point and marks your thread as Resolved.
5/4/2009 6:41:36 AM

Web resources about - c# -

ASP - Wikipedia
ASP may refer to: Electronics Analog signal processing, processing electronic signals that represent continuous variables by use of analog circuitry ...

ASP World Tour (@ASP) on Twitter
Log in Sign up You are on Twitter Mobile because you are using an old version of Internet Explorer. Learn more here ASP World Tour @ ASP Planet ...

Easy Background Tasks in ASP.NET
As I work on the badge implementation for Stack Overflow, I needed a way to call the code that detects and awards the badges out of band. Traditionally ...

Every Day is Day One - Samsung - ASP - Surf - YouTube
Samsung Mobile is proud to be the first global partner of the ASP, together they celebrate the growth of surfing worldwide and remind us that ...

高性价大变焦头 腾龙18-200mm亚马逊促销_腾龙 AF18-200mm f/3.5-6.3 XR DiII LD Asp[IF] MACRO(A14)索尼卡口_数码影像报价-中关村在线

Legacy iPhones Biting Apple in the ASP
... the option of purchasing past-generation and lower-capacity devices, Apple is gradually compressing the iPhone’s average selling price (ASP). ...

Apple's iPhone 5c margins, ASP expected to push AAPL previous estimates
A new report from Morgan Stanley suggests that the iPhone 5c's better-than-anticipated margins and popularity will propel Apple past previous ...

Microsoft takes ASP.NET MVC into the open with community patches and bug-fixes
Scott Guthrie, Vice President in Microsoft's Developer Division, has announced that ASP.NET MVC and related Microsoft projects will now be developed ...

iPhone 4 ASP is $600
As a footnote to the unlocked iPhone 4 story, it's worth noting that the average Apple store pricing for UK and France is around $824 (assuming ...

ARM Drops 8%: Deutsche Cuts to Sell on Intel Threat, Falling ASPs
Shares of chip technology designer ARM Holdings ( ARMH ) are down $2.19, or 8%, at $25.06 after Deutsche Bank's Kai Korschelt this morning cut ...

Resources last updated: 12/11/2015 10:16:38 AM