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
嗯。這是絕對正確的。現在它可以工作。請從這個答案,我會接受它。 –