What To Do If You Can't Connect To A Database - Sybase Adaptive Server IQ 12.4.2 Administration And Performance Manual

Table of Contents

Advertisement

What to do if you can't connect to a database

If you are unable to connect to an Adaptive Server IQ database, check the items
described below.
Check that you have entered your data source name correctly, or that you
have selected the correct server name for a JDBC connection.
Check that your data source (DSN or FILEDSN) contains the correct
server name, database, network parameters, and any other connection
information you expect.
On Windows NT, select Settings Control Panel
Administrator, then select the User DSN tab and select the source
name for the server you want.
On UNIX, check your .odbc.ini file
Check that the database server you want is running.
On Windows NT, select Settings Control Panel
the ODBC Administrator, then select the User DSN tab, highlight the
source name for the server you want, and click Configure Test
Connection. If that server is running, you see a Connection Successful
message.
On UNIX, enter the following at the system prompt, substituting the
name of your database server for asiqdemo:
ps -eaf | grep asiqdemo
Check that any connection parameters you enter on the command line are
correct.
If you are connecting to a database that is not running, check that the server
was started with the
databases on that server, by first connecting to the
then issuing a
START DATABASE
Check that you have permission to use the database for the requested
operation. The DBA or database owner must grant you
permission; see "Managing individual user IDs and permissions".
If you are having problems establishing a connection across a network,
you can use debugging options at both client and server to diagnose
problems. On the server, you use the
information appears on the server window: you can use the
the results to an output file.
CHAPTER 2
Running Adaptive Server IQ
switch. If not, then only the DBA can start
-gd ALL
command for the desired database.
command-line option. The startup
-z
ODBC
ODBC to open
database and
utility_db
CONNECT
option to log
-o
95

Advertisement

Table of Contents
loading

Table of Contents