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

SQL Anywhere 10.0.1 » SQL Anywhere Server - Database Administration » Managing User IDs and Permissions » Managing individual user IDs and permissions

Setting a password Next Page

Changing a password


Using the GRANT statement, you can change your password or that of another user if you have DBA authority. For example, the following command changes the password for user ID M_Haneef to new-password:

GRANT CONNECT TO M_Haneef
IDENTIFIED BY new-password;
Changing the DBA password

The default password for the DBA user for all databases is sql. You should change this password to prevent unauthorized access to your database. The following command changes the password for the DBA user to new_password:

GRANT CONNECT TO DBA
IDENTIFIED BY new_password;