?
Solved

MySQL and Delphi...

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

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

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…
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…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

801 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