Client install etmeden FirBird Kullanmak?

Firebird ve Interbase veritabanları ve SQL komutlarıyla ilgli sorularınızı sorabilirsiniz. Delphi tarafındaki sorularınızı lütfen Programlama forumunda sorunuz.
Cevapla
Kullanıcı avatarı
hdayi
Kıdemli Üye
Mesajlar: 1284
Kayıt: 29 Oca 2004 01:53
Konum: Erciyes'in eteklerinden.

Client install etmeden FirBird Kullanmak?

Mesaj gönderen hdayi »

Client install etmeden FirBird kullanmak mümkün mü? Yani yazdığım programın setup'ının içine firbird dosyalarını da koysam olur mu? Hangi dosyları koymak lazım?

Teşekkürler...
Bişnev in ney çün hikâyet mîküned
Ez cüdâyîhâ şikâyet mîküned
Resim
Kullanıcı avatarı
gkimirti
Admin
Mesajlar: 1956
Kayıt: 02 Eyl 2003 04:44
Konum: İstanbul

Mesaj gönderen gkimirti »

sadece gds32.dll yeterli
ama bazı win98 sistemlerde bu dll in register edilmesi gerekebilir
hala problem cıkarsa firebirdun kendi setup ı ile client kurulumu yapılır.
ÜŞENME,ERTELEME,VAZGEÇME
Kullanıcı avatarı
mege
Admin
Mesajlar: 2360
Kayıt: 05 Şub 2004 04:32
Konum: Beşiktaş
İletişim:

Mesaj gönderen mege »

firebird embedded versiyonunu indirince içindeki readmeden alıntı :
kopyalanacak dosyalarla ilgili kısmı bold yaptım.

-----------------------------------------------------------
Firebird 1.5.1 Embedded Server notes
-----------------------------------------------------------

1. GENERIC INFORMATION

The embedded server is a fully functional server linked
as a dynamic library (fbembed.dll). It has exactly the
same features as the usual server and exports the
standard Firebird API entrypoints.

2. ISSUES AND LIMITATIONS

2.1. Registry

The Firebird registry entries are ignored. The root
directory of the embedded server is the directory of
its binary file (library).

2.2. Database access

Client access can be only via the TCP/IP local loopback
protocol, i.e. a TCP/IP connection string that includes
the server name "localhost" or IP address 127.0.0.1; or
by using the Named Pipes protocol incorporating the
Windows server name.

The embedded server does not support the IPServer "local
connect" to a database file path without a server name.
The client must have exclusive access to the database file.

The embedded server acts as a true local server for a single
client accessing databases on a local machine. It can also
act as a remote gateway that redirects all network calls to
other hosts, just as the regular client library
does.

2.3. Authentication and security

The security database (namely security.fdb) is not used
in the embedded server and hence is not required. Any
user is able to attach to any database. Since both
the server and the client run in the same address space,
the security becomes just an agreement between both
sides which can be easily compromised.

But note that SQL privileges are still checked.

2.4. Compatibility

You may run any number of applications with the embedded
server without any conflicts. Having IB/FB server running
is not a problem either.

But you should be aware that you cannot access single
database from a number of the embedded servers
simultaneously, because they have SuperServer architecture
and hence exclusively lock attached databases.

3. USAGE

Just copy fbembed.dll into the directory with your
application. Then rename it to either fbclient.dll or
gds32.dll depending on your database connectivity software.
Then start your application and it will use the embedded
server as a client library and will be able to access
local datasases. You should also copy firebird.msg and
firebird.conf (if necessary) to the same directory.

If external libraries are required for your application,
then you should have them separately. Most probably, it
will be INTL support (fbintl.dll) or UDF libraries. To
be able to use them, you should place them into the
directory tree which emulates the Firebird server one,
i.e. has subdirectories like /intl or /udf:

c:\my_app\app.exe
c:\my_app\gds32.dll
c:\my_app\ib_util.dll
c:\my_app\firebird.conf
c:\my_app\firebird.msg
c:\my_app\intl\fbintl.dll
c:\my_app\udf\fbudf.dll

If you want to place the Firebird files (excluding the
renamed fbembed.dll) in another directory, you need to
modify your firebird.conf and set RootDirectory to the
Firebird directory tree. Example:

c:\my_app\app.exe
c:\my_app\gds32.dll
c:\my_app\ib_util.dll
c:\my_app\firebird.conf
d:\fb\firebird.msg
d:\fb\intl\fbintl.dll
d:\fb\udf\fbudf.dll

firebird.conf:
RootDirectory = d:\fb
.-.-.-.-.-.-.-. ^_^
fduman
Moderator
Mesajlar: 2749
Kayıt: 17 Ara 2004 12:02
Konum: Ankara

Mesaj gönderen fduman »

Firebird 1.5 için gds32.dll yeterli değil. fbclient.dll'i de beraberinde system32'ye atmalısın. gds32.dll, fbclient.dll için bir stub konumunda. İçinde kod yok. FbClient.dll'e bağlantı var. Aklınızda olsun.

Aslında Firebird 1.5'ten itibaren official client dll'i fbclient.dll. Ancak geriye uyumlu olsun diye gds32.dll'e böyle bir çözüm bulunmuş.
Kullanıcı avatarı
hdayi
Kıdemli Üye
Mesajlar: 1284
Kayıt: 29 Oca 2004 01:53
Konum: Erciyes'in eteklerinden.

Mesaj gönderen hdayi »

Teşekkürler,
gds32.dll ile çalıştı aslında, ama ben sağlam olsun diye fbvlient.dll i de kopyaladım.
gds32.dll ile fbclient.dll aynı uzunlukta muhtemelen de aynı dosyalar.
I I değilmiş. size aynı ama dosyalar farklı.

Kolay Gelsin....
Bişnev in ney çün hikâyet mîküned
Ez cüdâyîhâ şikâyet mîküned
Resim
fduman
Moderator
Mesajlar: 2749
Kayıt: 17 Ara 2004 12:02
Konum: Ankara

Mesaj gönderen fduman »

Haklısınız. 1.5'in bir versiyonunda anlattığım şekildeydi. Şimdi kopyasını kullanmayı tercih ediyorlar demek ki.
Cevapla