For the Configuration Assistant,
why gave me such errors when I try to add remote database "sample" on
linux (DB2 ESE UDB version 8)using "add database wizard" to my local
DB server
*************** *************** *************** *************** *******
SQL1005N The database alias "SAMPLE" already exists in either the
local database directory or system database directory.
Explanation:
The alias name specified has already been used. If no alias is
specified in the catalog database command, the database name is
used as the alias. When a database is created, the alias name is
the same as the database name.
This error may occur on the catalog database command when the
alias already exists in the system database directory.
On the create database command this error may occur in one of
the following situations:
o The alias already exists in the system database directory and
local database directory.
o The alias already exists in the system database directory but
not in the local database directory.
o The alias already exists in the local database directory but
not in the system database directory.
User Response:
For the catalog database command, uncatalog the alias from the
system database directory and resubmit your original command or
catalog the database with a different alias name.
For the create database command, do the following operations
with respect to the above 3 situations:
o Drop the database using the alias name. Resubmit your
original command.
o Uncatalog the alias. Resubmit your original command.
o Catalog the alias into the system database directory. Drop
the database using the same alias. Resubmit your original
command.
*************** *************** *************** *************** ****
The problem seems that remote database I tried to connect has the name
conflict with database "sample" on my local DB server
Does anybody experience such a problem?
How can I rename the remote db name?
Any soutions will be appreciated!
Many thanks
Comment