Difference between revisions of "Lazarus DB Faq/de"

From Lazarus wiki
Jump to navigationJump to search
Line 1: Line 1:
 
== Allgemein ==
 
== Allgemein ==
  
This FAQ will be directed to database programming with Lazarus.
+
Diese FAQ ist gerichtet auf die Datenbank-Programmierung mit Lazarus.
  
=== Where can I find more FAQ? ===
+
=== Wo kann ich weitere FAQs finden? ===
  
 
See the official website www.lazarus.freepascal.org. There is another FAQ as well. [[Lazarus Faq|Here]] you will find a copy of the FAQ from www.freepascal.org .
 
See the official website www.lazarus.freepascal.org. There is another FAQ as well. [[Lazarus Faq|Here]] you will find a copy of the FAQ from www.freepascal.org .
  
=== Where can I find database components? ===
+
=== Wo kann ich Datenbank-Komponenten finden? ===
  
 
At the moment the SQLdb components are part of the Lazarus package, you only need to install them. If you look in the [$LazarusDir]/components you will see a subdirectory SQLdb. Install the sqldblaz.lpk and you will be able to connect to MySQL, Interbase / Firebird and Postgres servers.
 
At the moment the SQLdb components are part of the Lazarus package, you only need to install them. If you look in the [$LazarusDir]/components you will see a subdirectory SQLdb. Install the sqldblaz.lpk and you will be able to connect to MySQL, Interbase / Firebird and Postgres servers.
 
Look [[Install Packages|here]] for help on installing packages.
 
Look [[Install Packages|here]] for help on installing packages.
  
=== Are there other components? ===
+
=== Gibt es noch andere Komponenten? ===
  
 
Yes. The [http://zeoslib.sourceforge.net/index.php ZEOS components] have been ported to Lazarus as well. You have to download ZEOSDBO_Rework from [http://sourceforge.net/cvs/?group_id=35994 ZEOS cvs].
 
Yes. The [http://zeoslib.sourceforge.net/index.php ZEOS components] have been ported to Lazarus as well. You have to download ZEOSDBO_Rework from [http://sourceforge.net/cvs/?group_id=35994 ZEOS cvs].

Revision as of 20:03, 24 August 2005

Allgemein

Diese FAQ ist gerichtet auf die Datenbank-Programmierung mit Lazarus.

Wo kann ich weitere FAQs finden?

See the official website www.lazarus.freepascal.org. There is another FAQ as well. Here you will find a copy of the FAQ from www.freepascal.org .

Wo kann ich Datenbank-Komponenten finden?

At the moment the SQLdb components are part of the Lazarus package, you only need to install them. If you look in the [$LazarusDir]/components you will see a subdirectory SQLdb. Install the sqldblaz.lpk and you will be able to connect to MySQL, Interbase / Firebird and Postgres servers. Look here for help on installing packages.

Gibt es noch andere Komponenten?

Yes. The ZEOS components have been ported to Lazarus as well. You have to download ZEOSDBO_Rework from ZEOS cvs.

Interbase / Firebird

How do I connect from Linux to a Windows server

Entering the correct path to a database on a Windows server from a Linux client is not very clear.

Say you have installed firebird in F:\Program Files\firebird\. The employee.fdb example database will then be installed in the directory F:\Program Files\firebird\examples\ . The IP-adress of your computer is 192.168.2.100.

Then entering the following databasename

192.168.2.100:F:\Program Files\firebird\examples\employee.fdb

in your IBConnection will connect to the required database.

Note that you don't have to enter a value for the hostname property!

MySQL

Welche Version von mySQL wird unterstützt?

Wenn sie die SQLdb Komponenten benutzen, dann benötigen sie die Client Bibliotheken für mySQL 4.0. Mit diesen Bibliotheken können sie eine Verbindung herstellen zu mySQL 3.2x und 4.x Servern.

MS SQL