Delphi-Kylix
  Home arrow Delphi-Kylix arrow Page 2 - Using Delphi with MySQL
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Moblin 
JMSL Numerical Library 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
DELPHI-KYLIX

Using Delphi with MySQL
By: Leidago
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 16
    2006-10-25

    Table of Contents:
  • Using Delphi with MySQL
  • Required Tools
  • Setting up the Connector
  • The Application
  • Form Two

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Using Delphi with MySQL - Required Tools


    (Page 2 of 5 )

    Here is the list of tools you will need:

    • MySQL Database Server
    •  MySQL Connector/ODBC  3.51
    •  MyCC(optional)

    You can download ODBC Connector from http://dev.mysql.com/get/Downloads/MyODBC3/mysql-connector-odbc-3.51.12-
    win32.zip/from/pick
    . Pick a mirror from which to download the package. Unzip and run the executable.

    Then download the MySQL Server from the downloads page of the MySQL site located at http://www.mysql.org/.

    Next download the MySQL Control Center (MyCC) application from http://sunsite.mff.cuni.cz/MIRRORS/ftp.mysql.com/downloads/mysqlcc.html

    MyCC is basically a database management program that enables you to create, delete, view and update databases that is served by MySQL. Please note that you do not have to download this program; in fact, you do not have to download any MySQL database admin applications at all. You could simply use the command line interface of the server to create and administer your databases. But you will need to know a bit of SQL in order to use the command line interface. I suggest that you download a MYSQL database management program if you do not want to learn SQL.

    To summarize, there are three things we need to do to use MySQL Server with our Delphi application:

    1. Download and install MySQL Server from http://www.mysql.org.
    2. Download  and install MySQL ODBC Connector.
    3. Download and install MyCC (optional but recommended).

    Once you have all of them installed, we then need to create the database. Our application is going to have a database called publish and a table called articles. It will handle the submission, editing and deleting of articles.

    More Delphi-Kylix Articles
    More By Leidago


       · MYSQL is a very powerful and easy to use database server that is freely available...
     

    DELPHI-KYLIX ARTICLES

    - Finishing the Client for an Internet Access ...
    - The Client for an Internet Access Control Ap...
    - User Management for an Internet Access Contr...
    - Important Procedures for an Internet Access ...
    - Server Code for an Internet Access Control A...
    - Constructing the Interface for an Internet A...
    - Building a Server Application for an Interne...
    - Building an Internet Access Control Applicat...
    - Client Dataset: Working with Data Packets an...
    - Using the Client Dataset in an N-Tiered Appl...
    - Using the Client Dataset in Two-Tiered Clien...
    - Using the Client Dataset in File-Based Archi...
    - Demystifying the Client Dataset
    - Working with INI Files in Delphi
    - Creating Data Link (UDL) Files in Delphi






    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
    Stay green...Green IT