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 > New application with Visual Studio 2003 .NET

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-31-06, 11:00
virtualwinner virtualwinner is offline
Registered User
 
Join Date: Dec 2002
Posts: 17
Question New application with Visual Studio 2003 .NET

I want to create a MFC multiple document application. A MYSQL-Server (4.x) is set up and can be accessed via web (e.g. phpmyadmin).

Can anybody tell me, how to set up a new project, if I want to connect to a MYSQL-Database? Are there any good tutorials or documents handling this? What is the best method to connect to the database in your opinion?

Thanks in advance.
__________________
----------------------------------------
visit us @ www.gamesquare.org
Reply With Quote
  #2 (permalink)  
Old 12-31-06, 13:37
healdem healdem is online now
Jaded Developer
 
Join Date: Nov 2004
Location: out on a limb
Posts: 9,259
to connect to MySQL you can wither use ODBC or the MySQL data adapter... both are downloadable form the MySQL site

you will need to add the references to you project for which ever method you plan on using to access the db

there are some good tutorials if you google for them. I thinks its arguable whetehr you are better off using the data adapter or ODBC. either should work, so fidn the verion you want. ODBC is the older of the technologies but works fine.
__________________
I'd rather be riding my Versys or my Tiger 800 let alone the Norton
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