Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Datenbanken (https://www.delphipraxis.net/15-datenbanken/)
-   -   Delphi SQLite Installationsproblem (https://www.delphipraxis.net/79772-sqlite-installationsproblem.html)

Piro 27. Okt 2006 23:27

Datenbank: SQLite

SQLite Installationsproblem
 
Liste der Anhänge anzeigen (Anzahl: 2)
Guten Abend,

ich besitze TD2006 Explorer und ich möchte gerne als lokale DB SQLite benutzen.
Folgendes habe ich schon gemacht.

1. DbxSQLite.dll & sqlite3.dll von Borland heruntergeladen und nach Anleitung eingebunden
Zitat:

----------------------------------------------------
Installation of DbxSQLite.dll
----------------------------------------------------

1 Locate the dbxdrivers.ini on your computer.
2 Add the following lines to it:

[Installed Drivers]
SQLite=1

[SQLite]
LibraryName=C:\....\DbxSQLite.dll
GetDriverFunc=getSQLDriverSQLite
VendorLib=C:\....\sqlite.dll
RoleName=Cache=2000|TextLength=1024

3 Fire up Delphi
4 Add a TSqlConnection component
5 Set the DriverName to "SQLite"
6 Open the component editor ("Edit connection
properties")
7 Create a new connection and set the Database to a
file (If you don't have a file it will be created
upon connecting)
8 Create some ClientDataSet structure
enter your SQL and build your applications
Bis zum Schritt 6 bin ich gekommen aber bei 7 hatte ich keine Möglichkeit eine DB zu setzen bzw. es wurde keine angelegt. Wo muss ich das machen? Denn wenn ich die Verbindung aktivieren will, sagt er mir, dass die DB fehlt, was ja logisch ist.

Die Datenbank habe ich angelegt und liegt im Projektverzeichnis. Was habe ich vergessen?

[edit=alcaeus]DB-Infos ergaenzt. Mfg, alcaeus[/edit]

R0BIN 28. Okt 2006 00:03

Re: SQLite Installationsproblem
 
muss es unbedingt über dbexpress sein?

Piro 28. Okt 2006 15:33

Re: SQLite Installationsproblem
 
ne muss es nicht. brauche aber eine kleine lokale DB für einen Stand-Alone PC. würde gerne sql benutzen. gefallen hat mir auch MyBase aber da geht das sql nicht. aber so in der größe wäre die db gut.

hatte auch an ADS und Firebird gedacht aber die sind für mich etwas kompliziert in der installation

mkinzler 28. Okt 2006 15:41

Re: SQLite Installationsproblem
 
http://www.aducom.com/sqlite/download.htm

Zitat:

hatte auch an ADS und Firebird gedacht aber die sind für mich etwas kompliziert in der installation
Also für die embedded FB brauchst du eigentlich nichts installieren, es reicht die dll(s) ins gleiche Verzeichnis, wie die exe zu legen.

DP-Maintenance 28. Okt 2006 15:51

DP-Maintenance
 
Dieses Thema wurde von "alcaeus" von "Multimedia" nach "Datenbanken" verschoben.


Alle Zeitangaben in WEZ +1. Es ist jetzt 23:22 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz