Solved

MySQL and Delphi...

Posted on 2000-04-17
2
306 Views
Last Modified: 2010-04-04
Can I write a program in Delphi that uses MySQL server on a Linux machine? How? What driver should I use?

Where can I begin?
0
Comment
Question by:rmaranhao
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 11

Expert Comment

by:robert_marquardt
ID: 2723629
There is a component on the Delphi Super Page.
0
 
LVL 15

Accepted Solution

by:
simonet earned 100 total points
ID: 2723675
Maranhao,

There are 2 ways to do it:

1) Using a Delphi component that directly talks to the MySQL layer. You can download DelphiMySQL2.zip  from here:

http://www.mysql.com/Contrib/

and a few other components from here:

http://www.mysql.com/download_win.html

2) Using the Windows ODBC32 driver for MySQL, MyODBC. This is my favorite approach, since changes to the server require no changes to the executable, but to the ODBC administrador for MyODBC. You can download MyODBC from here:

http://www.mysql.com/download_myodbc.html

Yours,

Alex
0

Featured Post

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question