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

SQL Anywhere 12.0.1 » SQL Anywhere Server - Database Administration » Starting and connecting to your database » SQL Anywhere database connections


Connecting to a running database on another computer (dbsrv12) (Command line)

To connect to a database that is currently running on a network database server, you can use the Host connection parameter.


A running database on another computer.

Context and remarks


 Connect to a running database on another computer (command line)
  • Run the following command (replace my_host with the host name of the computer running the network server):

    dbisql -c "UID=DBA;PWD=sql;ServerName=demo12;Host=my_host"

    Your computer may be running software that has an embedded SQL Anywhere server, in which case there could be multiple servers running without you realizing it. You should always specify the server name (ServerName=server-name).


The application connects to the database.



 See also