Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
强制 MobiLink 服务器回应。
dbmlsync -pi -c connection_string ...
使用 -pi 时,dbmlsync 将连接到远程数据库、检索连接到 MobiLink 服务器所需的信息、连接服务器以及验证指定的 MobiLink 用户。当 MobiLink 服务器接收到 ping 请求时,它便会连接到统一数据库,验证用户,然后将正在验证的用户状态和值发送回客户端。如果在 ml_user 系统表中找不到 MobiLink 用户名,同时 MobiLink 服务器正在使用命令行选项 -zu+ 运行,则 MobiLink 服务器会将此用户添加到 ml_user MobiLink 系统表。
要充分测试您的连接,应与所有要使用 dbmlsync 同步的同步选项配合使用 -pi 选项。当包括 -pi 时,dbmlsync 不执行同步。
如果 ping 成功,则 MobiLink 服务器将发出一条信息消息。如果 ping 不成功,它会发出一条错误消息。
通过 -pi 启动 dbmlsync 时,MobiLink 服务器仅会执行以下脚本(如果存在):
begin_connection
authenticate_user
authenticate_user_hashed
authenticate_parameters
end_connection