If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > MySQL asp.net connection in VS2008

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-02-09, 10:19
suasucc suasucc is offline
Registered User
 
Join Date: Nov 2008
Posts: 1
Red face MySQL asp.net connection in VS2008

Hey,
I am creating a asp.net web page and need to connect it to a mysql database. I have downloaded both the .net connector and the odbc connector but neither of them seem to be working.

Does anyone know a simple example of connecting a asp.net page to a mysql database using c#??

Thanks
Reply With Quote
  #2 (permalink)  
Old 01-16-09, 10:47
alexsqlforums alexsqlforums is offline
Registered User
 
Join Date: Jan 2009
Location: NYC
Posts: 11
.NET
Driver={mySQL};Server=myServerAddress;Port=3306;Op tion=131072;Stmt=; Database=myDataBase; User=myUsername;Password=myPassword;

ODBC:
Driver={MySQL ODBC 5.1 Driver};Server=myServerAddress;Port=3306;Database= myDataBase;User=myUsername; Password=myPassword;Option=3;
Reply With Quote
  #3 (permalink)  
Old 09-04-09, 15:49
sb_db sb_db is offline
Registered User
 
Join Date: Sep 2009
Posts: 1
connecting mysql to asp.net

@alexsqlforums:
i know what to do from inside the pages.but can you please tell me how to connect the database( i mean from server explorer in visual studio 2005). i cannot find the mysql server in the system dsn even after installing the connector.i am using mysql odbc connector.
please help me out.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On