Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

MySQL and Delphi...

Posted on 2000-04-17
2
Medium Priority
?
315 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
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 400 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Enter Foreign and Special Characters Enter characters you can't find on a keyboard using its ASCII code ... and learn how to make a handy reference for yourself using Excel ~ Use these codes in any Windows application! ... whether it is a Micr…
Suggested Courses
Course of the Month14 days, 22 hours left to enroll

578 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