DelphiFAQ Home Search:

How can Delphi access a mySQL database?

 

commentsThis article has not been rated yet. After reading, feel free to leave comments and rate it.

Question:

How can Delphi access a mySQL database?

Answer:

There is an ODBC driver for MySQL (MyODBC), that enables you to make ODBC connection to an mySQL database.

This will work in pretty much all Delphi versions since they all support ODBC.

At the time of writing, the URL to download the MyODBC driver is http://dev.mysql.com/downloads/connector/odbc/


Comments:

2008-04-07, 10:08:26
anonymous from Iceland  
I am a amateur programmer.
I can not answer your question.
I do have a question.
I need help. My problem is that I am triing to connect Delphi BDE to a Microsoft Access database on my local PC. I do not use username or password when I work in that database. Newertheless, when I try to connect my Delphi to the database the computer asks for both username and password. I use Delphi 6 program which I got 5 years ago when I teached programming in a college.



Can you help me?



Regards,



Tomas Isleifsson



Keywords:
2008-04-20, 02:15:32
anonymous from Indonesia  
try to call Me at +62343744994 maybe i have the solution.
Thank's

Khoirul Anam
2008-08-05, 03:43:39
anonymous from United Kingdom  
in ado conection properties .these is one property name as login : make it false it will never ask for the password.

 

 

NEW: Optional: Register   Login
Email address (not necessary):

Rate as
Hide my email when showing my comment.
Please notify me once a day about new comments on this topic.
Please provide a valid email address if you select this option, or post under a registered account.
 

Show city and country
Show country only
Hide my location
You can mark text as 'quoted' by putting [quote] .. [/quote] around it.
Please type in the code:

Please do not post inappropriate pictures. Inappropriate pictures include pictures of minors and nudity.
The owner of this web site reserves the right to delete such material.

photo Add a picture: