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

SQL Anywhere 12.0.1 » MobiLink - 客户端管理 » MobiLink 客户端简介 » MobiLink 用户

 

为用户提供初始口令

每个用户的口令都与用户名一起存储在 ml_user 表中。可以使用 Sybase Central 或 mluser 命令行实用程序来提供初始口令。

Sybase Central 可以很方便地添加单个用户和口令。而 mluser 实用程序则适用于成批添加。

如果创建了无口令的用户,则 MobiLink 将不会验证该用户,而且在连接和同步时也不需要口令。

 ♦ 为用户提供初始 MobiLink 口令 (Sybase Central)
  1. 从 [视图] 菜单中选择 [文件夹]。

  2. 打开 MobiLink 项目并展开使用 MobiLink 12 插件的 [统一数据库]。

  3. 展开统一数据库的名称。

  4. 单击 [用户]。

  5. 单击 [文件] » [新建] » [用户]。

  6. 请按照 [创建用户向导] 中的说明进行操作。

 ♦ 提供初始 MobiLink 口令(命令行)
  1. 创建一个文件,文件中每行包含一个用户名和口令,用空格分开。

  2. 打开命令提示符,然后运行 mluser 命令行实用程序。例如:

    mluser -c "DSN=my_dsn" -f password-file

    在此命令行中,-c 选项指定了一个到统一数据库的 ODBC 连接。-f 选项指定了包含用户名和口令的文件。

 另请参见