Logging in to the Mirror Replication Agent

This section describes how to use the isql interactive SQL utility to log in to the Mirror Replication Agent administration port.

Before you can log in to the Mirror Replication Agent administration port with an Open Client application (such as isql), you must first create a server entry for the Mirror Replication Agent instance in the interfaces file. See “Creating an entry in the interfaces file” for more information.

NoteThe first time you log in to a newly created Mirror Replication Agent instance, use the default administrator login, sa, with no password.

StepsTo log in to a Mirror Replication Agent instance

  1. Open an operating system command window.

  2. At the operating system prompt, enter the following command:

    isql -Uusername -Ppassword -Sinst_name
    

    where:

    For example, to log in to a new Mirror Replication Agent instance named “my_mra,” enter:

    isql -Usa -P -Smy_mra
    

NoteSybase recommends that you create a new administrator login and password to replace the default sa login and secure access to the administration port, immediately after you create a Mirror Replication Agent instance. See “Creating the Mirror Replication Agent administrator login” for more information.

Once you have successfully logged in to the administration port, you can use Mirror Replication Agent commands to administer the Mirror Replication Agent instance. See Chapter 4, “Mirror Replication Agent Command Reference,” for more information.