FB的一个初级问题?

shijies 2009-03-13 08:40:45
我执行了isql d:\firebird\security.db提示:
Statement failed, SQLCODE = -904

unavailable database

经检索,得到的结果为:
应该是你的 ib/fb 没有启动.
请到控制面板里启动它.


在isql里用connect指令,
connect d:\firebird\security.db

我在linux下就是这样用的。

请问:怎么启动ib/fb?
本人在isql中执行connect d:\firebird\security.db 语句后还是不行。
...全文
69 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
shijies 2009-03-13
  • 打赏
  • 举报
回复
本人还搜得一个答案:

A possible solution for "unavailable database" errors on Database Create

By: Borland Staff

Abstract: You cannot create a database if the server is not running.
Problem:
I am getting these errors when I try to create a database:
Use CONNECT or CREATE DATABASE to specify a database
Statement failed, SQLCODE = -904
unavailable database

I know the database is "unavailable". It doesn't exist yet. I am not sure what I am doing wrong.
Here is my create statement:
CREATE DATABASE 'd:temptest2.gdb' USER 'SYSDBA' PASSWORD 'masterkey';

Solution:
*************************************************************************************

Your create statement is fine. You need to make sure you have the InterBase server
running locally when you try to create a local database. If you are connecting to a
remote server, make sure the InterBase server is running on the remote machine.
If you do not have InterBase server running on your machine, it will not allow you to
create a database on your machine's hard drive and you will get the series of errors
you experienced.



Published on: 7/24/2000 12:00:00 AM

显示为Borland的工作人员所答,大意为语句正确,InterBase server没有启动,请问怎么启动firebird server?
zhuchengchuan 2009-03-13
  • 打赏
  • 举报
回复
在LINUX下没用过,关注。

2,497

社区成员

发帖
与我相关
我的任务
社区描述
Delphi 数据库相关
社区管理员
  • 数据库相关社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧