Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2002
    Posts
    17

    Question Unanswered: 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

  2. #2
    Join Date
    Nov 2004
    Location
    out on a limb
    Posts
    13,692
    Provided Answers: 59
    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 on the Tiger 800 or the Norton

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •