使用flamerobin-0.9.3建立firebird embed2.5.3数据库
2015-03-25
展开全部
使用方法。只是在new一个FbConnection的时候,把连接字符串改动一下就可以: _connectionString="Database=roy;User=SYSDBA;Password=masterkey;server type=1";.注意,roy数据库是在alias配置文件里配置好的,user和password可以随便写,只要有这两项就可以;最关键的是 server type=1这一项表示使用embed的数据源。如果不指明type=1,则表示使用普通的数据库。这是 FirebirdSql.Data.Firebird.dll提供的功能了。至于firebird的ReadMe中这么说
Client access can be only via the local protocol, i.e. NOT a TCP/IP connection string that includes the server name "localhost" or IP address 127.0.0.1. The embedded server supports only the IPServer "local connect" to a database file path without a server name. The client must have exclusive access to the database file.
Client access can be only via the local protocol, i.e. NOT a TCP/IP connection string that includes the server name "localhost" or IP address 127.0.0.1. The embedded server supports only the IPServer "local connect" to a database file path without a server name. The client must have exclusive access to the database file.
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询