Tech or Treat! Write an article about your scariest tech disaster to win gadgets!Learn more

x
?
Solved

Multiple DB2 Instance

Posted on 2001-06-29
2
Medium Priority
?
462 Views
Last Modified: 2006-11-17
Hi,

I want to use more one instance of UDB v7 on my Windows NT
server, but i can't because the environment variable
DB2INSTANCE support only one param.

What can i do ?


Thanks.
0
Comment
Question by:ThierryBertin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 

Accepted Solution

by:
gregnash earned 60 total points
ID: 6376746

DB2INSTANCE applies to the current or default instance.  You can create many instances, but any database connection can operate only within one instance at a time.
Once you've created your extra instances, use
SET DB2INSTANCE=xyz
to set which one you intend to use in the current session.

Different instances will need different IP ports for incoming connections, too.
0
 

Author Comment

by:ThierryBertin
ID: 6379624
Thanks,

It's work fine.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently, Microsoft released a best-practice guide for securing Active Directory. It's a whopping 300+ pages long. Those of us tasked with securing our company’s databases and systems would, ideally, have time to devote to learning the ins and outs…
This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

647 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question