如何通过本地网络连接到delphi 7中的firebird数据库? [英] how to connect to a firebird database in delphi 7 through a local network?
问题描述
我如何将我的delphi 7应用程序连接到本地网络?我正在使用zeos,并且已在对象检查器中将ZConnection1主机名设置设置为我的服务器的ip,我现在可以在正在编码的计算机上连接,但无法与网络上的另一台计算机连接到dabatase.我已将数据库路径设置为C:\ Documents and Settings \ Administrator \ My Documents \ test.FDB.我需要将其更改为IP地址吗?谢谢
how do i connect my delphi 7 app to a local network? i am using zeos and have set up the ZConnection1 hostname setting to the ip of my server in the object inspector, i can connect on the computer i am coding right now but cant connect to the dabatase with another computer from the network. i have set the database path to C:\Documents and Settings\Administrator\My Documents\test.FDB. do i need to change it to an ip address? thanks
我使用的组件是
- 1个zconnection
- 1个ztable
- 1个数据源
- 1个分贝网格
推荐答案
@airoch'the
@airoch 'the
感谢小费.两天前让我的应用程序正常工作,只是遇到了一些互联网问题,为什么我还没有发布.
thanks for the tip. got my app working two days ago just got some internet problem that why i havent posted.
我刚刚更改了aliass.conf中的别名,它起作用了!感谢所有花时间给我发帖的专家!
i just changed the alias in aliases.conf and it worked! thanks to all the experts who gave time to my post!
这篇关于如何通过本地网络连接到delphi 7中的firebird数据库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!