You are creating a new database instance on a local or remote server.
You have the authorizations of an operating system user for the server on which the database instance is to be created.
To create a database instance on a remote server under Microsoft Windows, you must also have administrator authorizations for the database server and the authorization log on as batch job. For information about maintaining operating system users, see your operating system documentation.
If several versions of the database software are available on the database server, you must specify the path of the version to which this database instance is to be assigned when registering the database instance. To do this, use the option -R (installation directory of the database software) when calling the Database Manager CLI.
db_create [<option>] <database_name> <dbm_user>,<password> [<os_user>,<password>]
<database_name> |
Name of database instance, maximum length eight characters |
<dbm_user>,<password> |
Database Manager Operators (DBM Operators) This operator is stored on the database server when you start to create the database. Subsequent access to the database instance is possible only with this operator. |
[<os_user>,<password>] |
Operating system user If you want to create the database instance on a remote server, you must also specify the operating system user for this server. If the logon to the operating system fails, the database instance cannot be installed. |
Creating a
local database instance on Microsoft Windows:
db_create myDB1
meyer,secret
Creating a
remote database instance on Microsoft Windows:
db_create myDB2
meyer,secret winuser,win
From now on, to access the database instances, you need the <dbm_user> and <password> specified at registration.
There is an OK message after the command has been executed successfully.
In the event of errors, see Reply Format.
Example: How to Create a Database Instance