473,799 Members | 3,740 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

New AIX DB2 instance requires new user?

Can it be that when I'm running DB2 8.1 on AIX 5.2 I have to create a
new user every time I want to create a new instance?

I tried the standard db2icrt command using a different instance name
and it errors out unless I have a user of the same name on the system.
I hate to say the thing I know most DBAs and especially Unix gurus hate
hearing, but Windows and the AS/400 don't make me do this...clearly I'm
new to Unix/Linux.

Any help would be appreciated.

Thanks,

Ari

Nov 12 '05 #1
2 3601

<ar******@hotma il.com> ????
news:11******** **************@ c13g2000cwb.goo glegroups.com.. .
Can it be that when I'm running DB2 8.1 on AIX 5.2 I have to create a
new user every time I want to create a new instance?

I tried the standard db2icrt command using a different instance name
and it errors out unless I have a user of the same name on the system.
I hate to say the thing I know most DBAs and especially Unix gurus hate
hearing, but Windows and the AS/400 don't make me do this...clearly I'm
new to Unix/Linux.

Any help would be appreciated.

Thanks,

Ari


Yes
Nov 12 '05 #2
ar******@hotmai l.com wrote:
Can it be that when I'm running DB2 8.1 on AIX 5.2 I have to create a
new user every time I want to create a new instance?
Yes, you have to create a new user. The reason is that DB2 relies on the
operating system for authentication (why duplicate this functionality in
the DBMS) and you can manage each instance individually and independent of
another one.

Btw, are you sure that you need a new instance - or do you just need another
database?
I tried the standard db2icrt command using a different instance name
and it errors out unless I have a user of the same name on the system.
I hate to say the thing I know most DBAs and especially Unix gurus hate
hearing, but Windows and the AS/400 don't make me do this...clearly I'm
new to Unix/Linux.


Well, we should probably not start to argue about multi-user capabilities in
Windows and Unix. ;-)

--
Knut Stolze
Information Integration
IBM Germany / University of Jena
Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
2372
by: Robert Ferrell | last post by:
I have a question about assigning __call__ to an instance to make that instance callable. I know there has been quite a bit of discussion about this, and I've read all I can find, but I'm still confused. I'd like to have a factory class that takes a string argument and returns the appropriate factory method based on that string. I'd like the instances to be callable. Like this: fact = Factory('SomeThing') aSomeThing = fact(some...
5
1411
by: Jesús Ángel | last post by:
Hello. I have a javascript object with one attribute (name) and one method (showName). Each object instance appends a DIV to the document's body. I want that when the user clicks over the DIVS the alert shows the name of the instance which has created the DIV.tancia que ha creado ese DIV: See online: http://www.tel.uva.es/~jpozdom/metodo.html
11
2900
by: Bob | last post by:
In our new .NET web applications, we try to limit the use of SqlConnection to just one instance per page, even if there are multiple accesses to various queries. The thinking behind is that this reduces the need to getting and returning connections to the pool repeatedly if a page has multiple calls to the DB, and each one manages its own connection. However, this does requires more deliberate coding, like calling the...
6
1759
by: Bran Kelly | last post by:
Hi, I am running into something I haven't ever encountered before. I have a static instance of a class declared in a cpp file, which seems to be optimized (or for some other reason) out of existence. It is something like the following: foobar.hpp class foobar {
1
2754
by: jatinder.saundh | last post by:
Hi, How do I give create database privielege to a specific user/group at a particular db2 instance ? I read about various authorities like SYSCTRL etc. but I am interested in giving only Create database privilege. I also came across GRANT <system privilege statement and it seems I can execute following statement to achieve what I want, GRANT CREATEDBA to <authorization-name>
3
2499
by: john | last post by:
I am VERY new to C++ (1st semester) put not so new to coding and programming (SQL, VB, etc). We are learning about classes. I have a program that needs to call many instances (i think this is the right term) of a class. What I have been taught so far is to write to a class we would do something like this in the main.cpp: a1.setmanSalary(something);
1
3000
by: No bother | last post by:
If I have a procedure that will be run simultaneously by several people which requires the use of a temporary table is there a way for the table to be accessible only in the instance in which the procedure is being run so that multiple tables can have the same name but not have collisions? I would normally think to name the table with a random string but apparently SQL rules do not allow dynamically generated table names. The other thing...
3
1720
by: sklett | last post by:
I suspect the answer might be in one of the words of my subject, but here goes anyway. I'm working on a system that will execute a very long (300+) chain of task objects. Here is some quick pseudo code to illustrate: public class VideoAcquisition { public Image GetFrame(){}; // other stuff
275
12419
by: Astley Le Jasper | last post by:
Sorry for the numpty question ... How do you find the reference name of an object? So if i have this bob = modulename.objectname() how do i find that the name is 'bob'
0
9687
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9541
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10485
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10252
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10231
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10027
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9073
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5463
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
2938
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.