【发布时间】:2015-12-31 14:58:05
【问题描述】:
我几乎一行一行地关注这个docs:
sudo add-apt-repository ppa:mapopa
sudo apt-get update
apt-cache search firebird2.5-*
sudo apt-get install firebird2.5-superclassic
sudo dpkg-reconfigure firebird2.5-superclassic
在这个阶段,我看到一个提示,要求我为SYSDBA 设置密码,因此我将其设置为root。然后我做剩下的:
sudo apt-get install firebird2.5-examples firebird2.5-dev
cd /usr/share/doc/firebird2.5-examples/examples/empbuild/
sudo gunzip employee.fdb.gz
sudo chown firebird.firebird employee.fdb
sudo mv employee.fdb /var/lib/firebird/2.5/data/
最后:
$ isql-fb
SQL> connect "/var/lib/firebird/2.5/data/employee.fdb " user 'SYSDBA' password 'root';
因此,我收到以下错误消息:
Statement failed, SQLSTATE = HY000
operating system directive open failed
-Permission denied
这有什么问题?
【问题讨论】:
-
第一个猜测:试试
sudo isql-fb -
嗯。这是完全正确的。现在它起作用了。请对此作出回答,我会接受。