[fpc-pascal] MySQL50 unit in freepascal
Chris
jangita at jangita.com
Tue Apr 22 13:07:11 CEST 2008
Thanks,
Where can I get these classes?
PO Box 627 00502 Karen,
Nairobi, Kenya.
-----Original Message-----
From: fpc-pascal-bounces at lists.freepascal.org
[mailto:fpc-pascal-bounces at lists.freepascal.org] On Behalf Of Michael Van
Canneyt
Sent: 22 April 2008 1:52 p
To: FPC-Pascal users discussions
Subject: Re: [fpc-pascal] MySQL50 unit in freepascal
On Tue, 22 Apr 2008, Chris wrote:
> Hi,
>
> I am a newbie in freepascal but I have used turbo pascal and Delphi
> extensively for the last 7 years or so; I want to write an application for
> my linux box to do some crude form of replication of mysql databases. I am
> just trying to figure out how to use the mysql50 unit, but cannot find
heads
> or tails of how to do it; it seems all version have different connecting
> methods etc etc etc
>
> Does anyone have a simple (very simple) and basic way of connecting to a
> mysql database, reading a record and writing a record into a table? That's
> all I need to get started; or if there is some documentation somewhere on
> how to use the unit id be grateful.
The easiest is to use the TMySQLConnection class and TSQLQuery.
It takes care of most of the details, and uses standard mechanisms
to read/write data.
Michael.
_______________________________________________
fpc-pascal maillist - fpc-pascal at lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
More information about the fpc-pascal
mailing list