List:General Discussion« Previous MessageNext Message »
From:Stepan Mik Date:December 7 2000 7:24am
Subject:RE: Connecting Delphi to Mysql
View as plain text  
Hi,

creating TDataset descendant might be quite painful. Is there a reason why
you can't use BDE and MyODBC driver? Resulting application will be probably
little bit slower than application with customized TDataset but you can set
it up without writing a line of code.
To set up MySQL database in your application install MyODBC driver for
Windows, then create a proper ODBC DSN for your mysql database and finally
run BDE configuration utility and let BDE know about previously created DSN.
After it you can access MySQL tables via a TDatabase and TTable components
as any other tables.

And I recomend you to install MySQL with transaction support because some
data aware components may rely on transactions.

Stepan

-----Original Message-----
From: Jason Ciarcia [mailto:ciphryx@stripped]
Sent: Thursday, December 07, 2000 5:09 AM
To: mysql@stripped
Subject: Connecting Delphi to Mysql


Hi,

I tried connecting to mysql from delphi using a contributed unit called
libmysql.pas and it worked fine, but I now realize I can't use any of the
Datasets nor DBAware components in delphi.

I was thinking about developing a TDataset descendant for this....is that
very hard to do ?

Thanks,

Jason
____
____
____
_________________________________________________________________________
Get more from the Web.  FREE MSN Explorer download : http://explorer.msn.com


--
---------------------------------------------------------------------
Please check "http://www.mysql.com/documentation/manual.php" before
posting. To request this thread, e-mail mysql-thread58279@stripped

To unsubscribe, send a message to:
    <mysql-unsubscribe-stepan.mik=etnetera.cz@stripped>

If you have a broken mail client that cannot send a message to
the above address (Microsoft Outlook), you can use:
    http://lists.mysql.com/php/unsubscribe.php


Thread
Connecting Delphi to MysqlJason Ciarcia7 Dec
  • RE: Connecting Delphi to MysqlStepan Mik7 Dec
    • Re: Connecting Delphi to MysqlCory Whitesell7 Dec
  • Re: Connecting Delphi to MysqlNando27 Dec