Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 12.0.0 (中文) » SQL Anywhere 服务器 - 数据库管理 » 启动并连接到数据库 » 网络协议选项

 

DatabaseName (DBN) 协议选项

指定处理 Web 请求时要使用的数据库名称,或者使用 REQUIRED 或 AUTO 关键字指定是否需要在 URL 中使用数据库名称。

 语法
 可用的协议
 缺省值
 注释
 示例

以下命令启动两个 HTTP Web 服务,一个用于 your-first-database.db,而另一个用于 your-second-database.db

dbsrv12 -xs 
    http(port=80;dbn=your-first-database) 
    http(port=8800;dbn=your-second-database) 
    your-first-database.db your-second-database.db