简体   繁体   English

无法使用Delphi XE2连接到Firebird 2.5 Server

[英]Cannot make connection to Firebird 2.5 Server using Delphi XE2

I have installed the firebird 2.5 Server, created a database and want to make a connection to it with my Delphi XE2 using the Data Explorer. 我已经安装了firebird 2.5 Server,创建了一个数据库,并希望使用Data Explorer与我的Delphi XE2建立连接。 When I add the database details, username and password, I get the following error if I press the test connection button: 当我添加数据库详细信息,用户名和密码时,如果按下测试连接按钮,则会出现以下错误:

Borland.Data.TDBXError: DBX Error:  Driver could not be properly   initialized.  Client library may be missing, not installed properly, of the wrong version, or the driver may be missing from the system path.

I do not know if I need to add a .dll file to any specific folder. 我不知道是否需要将.dll文件添加到任何特定的文件夹。 Please Im lost and need help. 请我迷路了,需要帮助。

You need to copy the fbclient.dll file to some folder in the PATH enviroment variable 您需要将fbclient.dll文件复制到PATH环境变量中的某个文件夹中

for example In 32 bits systems copy the fbclient.dll (32 bit version) to the C:\\Windows\\System32 folder 例如,在32位系统中,将fbclient.dll(32位版本)复制到C:\\Windows\\System32文件夹中

for example In 64 bits systems copy the fbclient.dll (32 bit version) to the C:\\Windows\\SysWOW64 folder 例如,在64位系统中,将fbclient.dll(32位版本)复制到C:\\Windows\\SysWOW64文件夹

Note : If you are using the 64 bits version of Firebird you must use the fbclient.dll file from the <Firebird install path>\\Firebird_2_5\\WOW64 folder. 注意:如果使用的是64位版本的Firebird,则必须使用<Firebird install path>\\Firebird_2_5\\WOW64文件夹中的fbclient.dll文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM