The password for each user is stored with the user name in the ml_user table. You can use Sybase Central or the mluser command line utility to provide initial passwords.
Sybase Central is a convenient way of adding individual users and passwords. The mluser utility is useful for batch additions.
If you create a user without a password, MobiLink does not authenticate the user and a password is not required to connect and synchronize.
From the View menu, choose Folders.
Open your MobiLink project and expand Consolidated Databases using the MobiLink 12 plug-in.
Expand the name of your consolidated database.
Click Users.
Click File » New » User.
Follow the instructions in the Create User Wizard.
Create a file with a single user name and password on each line, separated by white space.
Open a command prompt and run the mluser command line utility. For example:
mluser -c "DSN=my_dsn" -f password-file |
In this command line, the -c option specifies an ODBC connection to the consolidated database. The -f option specifies the file containing the user names and passwords.
Discuss this page in DocCommentXchange.
|
Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1 |