人使用 win98 单机使用的数据库,如果你单机上使用 nt 系统(2000/xp)等可以使用
postgresql,因为 postgresql 比起 firebird 来讲某方面确实比较强,而使用者也比较
多
架构
firebird 数 据 库 软 件 有 三 种 套 件 , 并 而 支 持 不 同 作 业 平 台 (windows 系
列,linux,freebsd 等...)Super Server-无法直接存取数据库档案,必须透过 socket 来和
服务器沟通 Classic-直接存取数据库的档案,多个程序可以同时存取一个档案,有
点像 vfp,dbase embedded-专为一些小型系统的嵌入式数据库 (pda)
--------------------------------------------------------------------------------
下载及安装
主网站:http://firebird.sourceforge.net/
Download->Firebird relational database
直接点两下就可以安装,请照步骤,根据自己的需求来安装
预设安装路径
windows:c:\program files\firebird\firebird_1_5
linux:/opt/firebird
两个操作系统下的目录结构非常像
根目录下:
firebird.conf-设定档
aliases.conf -别名档
friebird.log -记录文件
SYSDBA.password -linux 才有,管理者的名称及密码在里面,windows 则预设:名称:
sysdba,密码:masterkey
windows 直接使用 security.fdb 来存 sysdba 的密码
注意:使用者名称不分大小写,但密码有分
目录/bin:
则是一些必要的主要及工具程序
-------------------------------------------------------------------------------
设定 firebird
主要的设定档
firebird.conf
预设 tcp/ip 会启动 port:3050
你可以使用 telnet ip 3050 来测试
aliases.conf
设定数据库的别名
数据库联机时一般要指定路径,有时路径太长时你可以指定,在 aliases.conf 中使用
别名来存取
它是位于你安装 firebird 的根目录,以下为内建范例
# 别名 = 原始路径
employee.fdb = /opt/firebird/examples/employee.fdb
其中#为批注,而 windows 及 linux 的路径是有所不同:
# fbdb1 在 Windows 服务器:
fbdb1 = c:\Firebird\sample\Employee.fdb
# fbdb2 在 Linux 服务器:
评论0
最新资源