728x90
Question
Installing TWS the following error is encountered, SQL1005N The database alias "TWS" already exists in either the local database directory or system database directory.
Cause
This is caused when a previous installation of TWS was made and it created the default database, TWS.
Answer
If you are attempting a reinstallation using the same database name then you should perform the following :-
1. db2 catalog database tws
2. db2 drop database tws
728x90