ASA Database Administration Guide
The Database Server
The database server
Database server options
Set permissions required to start or stop a database.
{ dbsrv9 | dbeng9 } -gd { DBA | all | none } ...
All operating systems and servers.
This is the permission required for a user to cause a new database file to be loaded by the server, or to stop a database on a running database server. The level can be one of the following:
DBA Only users with DBA authority can start or stop databases.
all All users can start or stop databases.
none Starting and stopping databases is not allowed apart from when the database server itself is started and stopped.
The default setting is ALL for the personal database server and DBA for the network database server. Both uppercase and lowercase syntax is acceptable.
Note that when this option is set to DBA, the client application must already have a connection to the server in order to start or stop a database. Providing a DBA username and password on a new connection is not sufficient.
The following set of steps illustrates how to use the -gd
option for the network database server.
Enter a password in the util_db.ini file in the directory that holds the database server executable:
[UTILITY_DB] pwd=mypwd
Start the network database server:
dbsrv9 -x tcpip -n myserver -gd DBA
Connect to the utility database from Interactive SQL.
The following command assumes that myserver is the default database server:
dbisql -c "uid=DBA;pwd=mypwd;dbn=utility_db "
Start a database:
start database asademo on myserver;
Connect to the database you have started:
connect to myserver database asademo user DBA identified by SQL