/
Create Database

Create Database

Creates a new EDMdatabase. The command will fail if the actual EDMserver has another open database.
This command can optionally execute the Database>Open and Connection>OpenSession commands such that the new created database will be ready for data manipulation immediately after this command is executed.
The Database>Create command will define the two EDMuser accounts named superuser and sdai-user, and the EDMgroup account sdai-group. The users superuser and sdai-user are member of the group sdai-group. The superuser is the privileged user in the EDMserver. The sdai-user and the sdai-group is the default user and group account, i.e. when connecting to the EDMserver by the Connection>OpenSession command, the caller will be logged-in as the user sdai-user under the group-account sdai-group.
The superuser will automatically get the same password as the database password defined by this command. The superuser can change its password by executing the UserAdm>DefinePassword command. The password that protects the EDMdatabase cannot be changed.
Arguments:

Directory path:

Specify the path to the directory where the database is located. The <Directory path> must be specified as an absolute path.
The <Directory path> argument can be specified with and without the directory delimiter character as the last character in the directory path. The directory delimiter character is '\' on the Windows platforms and '/' on the Unix platforms.
When activating the Select button, a window is opened to allow browsing the directory structure and select/specify the desired directory.

Database:

Specify the name of the EDMdatabase. EDMdatabase names are case sensitive.

Password:

Specify password of the new database. The password that protects the database cannot be changed. This password will by default be the password of the EDMuser superuser.

Retype password:

Retype the password specified in <Password>. Because there is no echo on the <Password>, the <Retype password> argument is used to check that the user remember the <Password>. If <Password> is different from <Retype password> then the command will fail.

Options:

accumulating command output:

A global option that appends the command output to the EDMsupervisor output window. Otherwise the output window is refreshed and only the last command output is displayed.

open database:

The created database will be opened by invoking the Database>Open command.

open session:

An EDMserver session is opened by invoking the Connection>OpenSession command. The caller will be logged-in as user sdai-user with the group account sdai-group.

Related content

Open Database
Open Database
More like this
edmiOpenDatabase
edmiOpenDatabase
More like this
Connect
Connect
More like this
edmiRemoteOpenDatabase
edmiRemoteOpenDatabase
More like this
edmiGetInternalDataBN
edmiGetInternalDataBN
More like this
Define Password
Define Password
More like this