Foros Club Delphi

Foros Club Delphi (https://www.clubdelphi.com/foros/index.php)
-   Varios (https://www.clubdelphi.com/foros/forumdisplay.php?f=11)
-   -   InterBase Togo y FireDAC (https://www.clubdelphi.com/foros/showthread.php?t=96782)

ArtPortEsp 11-07-2024 22:47:00

InterBase Togo y FireDAC
 
Buenas;

alguno de ustedes ha configurado con exito FireDAC para usarlo con Interbase ToGo?

yo no puedo hacer que se conecte...

mi Base de datos se llama DB_BACKUP.GDB, esta colocada en mi carpeta c:\temp, ahi mismo puse la libreria ibtogo64.dll (estoy probando con windows64

mis parametros de conexion son:

DriverID=IB
Database=C:\temp\DB_BACKUP.GDB
User_Name=SYSDBA
Password=masterkey
IBAdvanced=ClientLib=C:\temp\ibtogo64.dll

he probado con y sin Protocol (local y TCPIP)
tambien con y sin valor en Server (127.0.0.1)

Alguna idea?

ArtPortEsp 12-07-2024 15:16:45

Por si a alguien le sirve, COPILOT me sugirió esto (supero a CHATGPT):

To configure FireDAC to use InterBase ToGo, follow these steps:

Install InterBase ToGo:
Ensure you have a valid license for InterBase ToGo. If you’re using RAD Studio, you might have received a key for an unlimited development and deployment license for IBLite or InterBase ToGo1.
Set Up Your Project:
Open your Delphi or C++Builder project.
Add the necessary FireDAC components to your form, such as TFDConnection, TFDQuery, etc.
Configure the Connection:
Drop a TFDPhysIBDriverLink component onto your form.
Set the VendorLib property to the path of the InterBase ToGo library (ibtogo.dll for Windows, libibtogo.dylib for macOS, etc.)2.
Define Connection Parameters:
Set up the connection parameters in the TFDConnection component. Here is an example:
Código Delphi [-]
FDConnection1.DriverName := 'IB';
FDConnection1.Params.Values['Database'] := 'C:\path\to\your\database.ib';
FDConnection1.Params.Values['User_Name'] := 'sysdba';
FDConnection1.Params.Values['Password'] := 'masterkey';
FDConnection1.Params.Values['CharacterSet'] := 'UTF8';

Deploy Required Files:
Ensure that the InterBase ToGo library and your database file are included in your deployment. For mobile platforms, use the Project > Deployment menu to add these files1.
Test the Connection:
Use the Connected property of the TFDConnection component to test the connection:
Código Delphi [-]
FDConnection1.Connected := True;


La franja horaria es GMT +2. Ahora son las 21:57:51.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi