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' – lordvlad
嗯。这是绝对正确的。现在它可以工作。请从这个答案,我会接受它。 –