Chapter 4 Setting up the Database Client
Once you have installed the database client (including an ODBC driver for Adaptive Server Anywhere), you have to create an ODBC data source to define the connection parameters between the client and the database on the server.
There are three types of ODBC data sources:
You will learn to create a machine data source.
From the ODBC administrator, you will have to enter the following parameters in the ODBC configuration dialog box:
Tab | Parameter | Description |
---|---|---|
ODBC | Data Source Name | This name is used to identify the ODBC data source |
Description | Optional description of the data source | |
Translator | Keep <No Translator> | |
Login | User ID | Name of the user ID with which you log on to the database, for Adaptive Server Anywhere the default user is DBA |
Password | Password for the connection, for Adaptive Server Anywhere the default password is SQL | |
Encrypt password | You can select this box if you want to store the password in an encrypted fashion in the data source | |
Database | Server Name | Name of the network server |
Start Line | (only if the server is installed on the same machine as the client) enter the server that should be started. You should supply a Start Line parameter only if you are connecting to a database server that is not currently running | |
Database Name | Name of the database that you have created on the network server | |
Database File | Full path and name of the database file on the server. You can also click Browse to locate the file | |
Network | — | Check your network protocol documentation to select appropriate options |
Advanced | — | Keep default parameters |
To define a machine data source:
Copyright (C) 2006. Sybase Inc. All rights reserved. |
![]() |