什么会导致 "Access to database is denied by server administrator"
What can cause "Access to database is denied by server administrator"
几天前,我开始在 opensuse 上使用 firebird。当我尝试使用 monodevelop(C#) 打开数据库时,我收到错误消息:
"access to database is denied by server administrator"
我该如何解决这个问题?
我正在使用 firebird 2,5、opensuse 13.1 和 monodevelop。
您正试图在服务器配置不允许的位置访问数据库。有两个可能的原因:
firebird.conf
中 DatabaseAccess
的值不包括或明确拒绝数据库的当前位置。
要解决此问题,您需要配置一个别名并使用该别名进行连接,将数据库移动到允许的文件夹之一,或者向配置条目添加一个额外的位置
firebird 用户(用户 运行 服务器进程)没有访问数据库文件的权限。
要解决此问题,您需要确保服务器进程的 firebird 用户(如果通过 Firebird 服务器连接)或您自己的用户(如果使用嵌入式)具有足够的数据库访问权限。
另见 http://www.firebirdfaq.org/faq39/ and http://ibexpert.net/ibe/index.php?n=Doc.ConfiguringFirebird#DatabaseAccess
几天前,我开始在 opensuse 上使用 firebird。当我尝试使用 monodevelop(C#) 打开数据库时,我收到错误消息:
"access to database is denied by server administrator"
我该如何解决这个问题?
我正在使用 firebird 2,5、opensuse 13.1 和 monodevelop。
您正试图在服务器配置不允许的位置访问数据库。有两个可能的原因:
firebird.conf
中DatabaseAccess
的值不包括或明确拒绝数据库的当前位置。要解决此问题,您需要配置一个别名并使用该别名进行连接,将数据库移动到允许的文件夹之一,或者向配置条目添加一个额外的位置
firebird 用户(用户 运行 服务器进程)没有访问数据库文件的权限。
要解决此问题,您需要确保服务器进程的 firebird 用户(如果通过 Firebird 服务器连接)或您自己的用户(如果使用嵌入式)具有足够的数据库访问权限。
另见 http://www.firebirdfaq.org/faq39/ and http://ibexpert.net/ibe/index.php?n=Doc.ConfiguringFirebird#DatabaseAccess