CreateAliasDB
The createAliasDB.sh
script allows the creation of a new database to be carried out, and an alias for that database to be created in the file /opt/firebird/aliases.conf
.
Note
|
The |
If your system is not set up properly, the database creation step may fail but the alias will still be added to the aliases file.This could leave you subsequently unable to add the alias properly, as the script checks to ensure that you do not overwrite an existing alias.You will have to manually edit the alias file to remove the broken alias.
All databases must be owned by the firebird user, and by the firebird group.The following shows a new directory being created by the root user to allow Firebird databases to be created.
# cd /u01 # mkdir databases # chown firebird:firebird databases
At this point the directory /u01/databases
is available for use as a repository for one or more Firebird databases.Obviously, in the above example, the /u01
directory already existed.