Download DB2

Mapping existing databases after reinstalling DB2

February 12th, 2007 by Leons Petrazickis

Due to the vagaries of software, I had to reinstall DB2 on my laptop. Unfortunately, the existing databases were not automatically added to the Control Center.

Physically, DB2 stores its databases in a directory similar to C:\DB2\NODE0000. Logically, there must a way to remap them. So, how does one remap them?

To list databases stored at a path:
% db2 list db directory on c:

To recatalog them:
% db2 catalog db SAMPLE on c:

Reference:
DB2 at a Glance | The DB2 Environment

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • digg
  • Reddit

Posted in db2 |

One Response

  1. LeoTech » Blog Archive » A major error occurred while installing Says:

    […] I’m not entirely clear on why they didn’t just fix the graphical uninstaller instead of writing a second one. Still, dbu2unins -f cleaned out my system, allowing me to reinstall DB2 and remap existing databases. […]

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.