Difference between revisions of "Lazarus DB Faq"

From Free Pascal wiki
Jump to navigationJump to search
Line 9: Line 9:
 
== IB / FB ==
 
== IB / FB ==
  
 +
=== 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 ==
 
== MySQL ==

Revision as of 10:55, 22 June 2005

General

This FAQ will be directed to database programming with Lazarus.

Where can I find more FAQ?

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 .

IB / FB

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

MS SQL