createAliasDB.sh Parameters
To run the createAliasDP.sh
script, use a command line similar to the following:
# createAliasDB.sh <new_alias> <database_name>
The script takes two parameters on the command line, both of which are mandatory:
- new_alias
-
The first parameter is the new alias you wish to create.This alias must not already exist in the alias file, or an error will be displayed and no further action taken.
- database_filename
-
The second parameter specifies the full path to the database file.You must not specify a relative path as this could lead to incorrect database filenames being used at connection time.The script will reject any attempt to pass a relative pathname instead of a full pathname.
A brand new empty database will be created provided that the name passed to the script doesn’t already exist.If the database already exists, only the alias will be created and added to the alias file.