Starting The Asiqdemo Database - Sybase Adaptive Server IQ 12.4.2 Administration And Performance Manual

Table of Contents

Advertisement

Permission limitations
Stopping a database

Starting the asiqdemo database

Behind the scenes
The
server command-line option determines the permission level required
-gd
to start databases. By default, this option is set to
database administrator privileges can start IQ databases. However, you can
also set this option to
ALL
database.
means that no users, including the DBA, can start a database.
NONE
You can stop a database in the following ways:
Disconnect from a database started by a connection string. The database
stops automatically when the last user disconnects from it, unless you
explicitly set the
AUTOSTOP
From DBISQL or Embedded SQL, use the
For information, see the Adaptive Server IQ Reference Manual.
You can start the server and the
configuration file that Adaptive Server IQ provides. This configuration file,
called asiqdemo.cfg, contains all the parameters necessary to start the sample
database.
To start the server and asiqdemo database on UNIX operating systems:
From a command line, type the following command:
%cd $ASDIR/demo
%start_asiq @asiqdemo.cfg asiqdemo
These commands use the configuration file asiqdemo.cfg that is created
automatically at installation. You can edit this file to change the parameters you
use to start the sample database. For example, the server name in this file is
hostname_asiqdemo. You can rename the server to a unique name of your
choice, like
janed_server
To start the server and asiqdemo database on a Windows NT system:
Click Start on the Taskbar, and select Programs Adaptive Server IQ
12.0
Sample Database.
The command that executes when you perform these steps is:
path\win32\asiqsrv12 @demo\asiqdemo.cfg
demo\asiqdemo.db
CHAPTER 2
Running Adaptive Server IQ
or
.
means that all users can start a
NONE
ALL
connection parameter to NO.
STOP DATABASE
database easily, using the
asiqdemo
.
, so that only users with
DBA
statement.
47

Advertisement

Table of Contents
loading

Table of Contents