How to connect Delphi 10.2 to an external DB?

50 views
Skip to first unread message

Vinícius Pelatieri

unread,
Feb 16, 2024, 2:53:25 AM2/16/24
to firebird-support
The database file (.FDB), is on a local machine of my network (let's say 192.168.1.10) and watching a YouTube tutorial, I learned how to use the FDConnection that, on the parameter Database, asks for the file path to the database. I can't inform it because it is on another PC, so how could I connect my Delphi application to an external database?

Mathias Pannier (unitel)

unread,
Feb 16, 2024, 4:03:18 AM2/16/24
to firebird...@googlegroups.com

Hello,

 

You need the local path to the database on the remote machine or You have an alias entry in databases.conf

 

If the Database is located under “C:\Database\MyDB.fdb” then You must connect to “192.168.1.10:C:\Database\MyDB.fdb” from the remote pc.

 

Regards

Mathias Pannier

 

Von: firebird...@googlegroups.com [mailto:firebird...@googlegroups.com] Im Auftrag von Vinícius Pelatieri
Gesendet: Donnerstag, 15. Februar 2024 20:28
An: firebird-support <firebird...@googlegroups.com>
Betreff: [firebird-support] How to connect Delphi 10.2 to an external DB?

 

ACHTUNG: Diese E-Mail stammt von einem externen Absender. Bitte vermeiden Sie es, Anhänge oder externe Links zu öffnen.

 

The database file (.FDB), is on a local machine of my network (let's say 192.168.1.10) and watching a YouTube tutorial, I learned how to use the FDConnection that, on the parameter Database, asks for the file path to the database. I can't inform it because it is on another PC, so how could I connect my Delphi application to an external database?

--
You received this message because you are subscribed to the Google Groups "firebird-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebird-suppo...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/firebird-support/47379d48-963a-4b20-b5d5-59299f33a428n%40googlegroups.com.

ub.unitel GmbH, Schulstraße 16, 06792 Sandersdorf-Brehna
Geschaeftsfuehrung Klaus Richter, Olaf Meyer
Amtsgericht Stendal
HRB 26389 FA Bitterfeld Steuernr. 116/107/08597 Ust.identNr. DE815796778
Deutsche Bank IBAN DE53 86070024 0 6143234 00
Kreissparkasse Anhalt-Bitterfeld IBAN DE69 80053722 0 3050326 82
_____________________________________________________________________
Dieses E-Mail ist nur für den Empfänger bestimmt, an den es gerichtet
ist und kann vertrauliches bzw. unter das Berufsgeheimnis fallendes
Material enthalten. Jegliche darin enthaltene Ansicht oder Meinungs-
äußerung ist die des Autors und stellt nicht notwendigerweise die
Ansicht oder Meinung von ub.unitel GmbH dar.
Sind Sie nicht der Empfänger, so haben Sie diese E-Mail irrtümlich
erhalten und jegliche Verwendung, Veröffentlichung, Weiterleitung,
Abschrift oder jeglicher Druck dieser E-Mail ist strengstens untersagt.
_____________________________________________________________________

liviuslivius

unread,
Feb 16, 2024, 4:05:49 AM2/16/24
to firebird...@googlegroups.com
Open 3050 TCP port on the firewall on the machine with Firebird server 

Regards,
Karol Bieniaszewski


-------- Oryginalna wiadomość --------
Od: Vinícius Pelatieri <viniciuspe...@gmail.com>
Data: 15.02.2024 20:28 (GMT+01:00)
Do: firebird-support <firebird...@googlegroups.com>
Temat: [firebird-support] How to connect Delphi 10.2 to an external DB?

The database file (.FDB), is on a local machine of my network (let's say 192.168.1.10) and watching a YouTube tutorial, I learned how to use the FDConnection that, on the parameter Database, asks for the file path to the database. I can't inform it because it is on another PC, so how could I connect my Delphi application to an external database?

Reply all
Reply to author
Forward
0 new messages