IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

DB2 Discussion :

Question sur schéma DB2


Sujet :

DB2

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Membre averti
    Profil pro
    Développeur informatique
    Inscrit en
    Septembre 2007
    Messages
    31
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations professionnelles :
    Activité : Développeur informatique

    Informations forums :
    Inscription : Septembre 2007
    Messages : 31
    Par défaut Question sur schéma DB2
    Bonjour à tous.

    J'ai installé DB2 dans machine qui contient window xp. Lors d'installation, DB2 m'a demandé d'entrer un identifiant et un mot de pass. Aprés l'installtion, je constate que desormais, pour avoir acès à le bureau(destop) de mon ordinateur je dois cliquer sur ce identifiant qui ce trouve sur mon bureau ensuite entré un mot de pass.

    ce identifiant est utilisé par défaut par tous mes table db2. Malheureusement, l'identiant que j'avais entré est 10 lettre au lieu de 8 maximum

    Problem
    Lorsque je vaux utilisé ces tables dans un systéme MVS qui demande maxi 8 lettre pour l'identifiant, j'ai des message d'erreur.

    Question. 1

    Comme changer ce identifiant pour passer de 10 à 8 lettre maxi?

    Question 2

    Comment supprimer ce identifiant de mon desktop ?

    Je vous prie de bien voulloir prendre le temps pour repondre à mes questions.
    Je m'excuse de tous problem de langue sur ce texte cas je suis un anglophone.

  2. #2
    Membre averti
    Inscrit en
    Mai 2009
    Messages
    20
    Détails du profil
    Informations forums :
    Inscription : Mai 2009
    Messages : 20
    Par défaut Suggestion...
    I've never did it before or tested it, but the following steps should work theorically:

    The documentation mentions instance user account privileges and requirements:

    http://publib.boulder.ibm.com/infoce.../r0007134.html

    DB2 instance user account
    The user account must belong to the Administrators group on the computer where you will perform the installation.
    A local or domain user account is required for the DB2 instance. Every DB2 instance has one user that is assigned when the instance is created. DB2 logs on with this user name when the instance is started. An error will occur if you use a domain user account to perform a database operation (such as, creating a database) against a DB2 instance created with either a Local user account or the LocalSystem account. If you know you will be a domain user account with your DB2 product, you should create the instance using a domain user account.

    You may also use the built-in LocalSystem account to run the installation for all products, except for DB2 Enterprise Server Edition.

    You can create the DB2 instance user account before installing DB2 or you can have the DB2 Setup wizard create it for you. If you want to have the DB2 Setup wizard create a new domain user account, the user account you use to perform the installation must have authority to create domain user accounts. This account will be granted the following user rights:
    Act as part of the operating system
    Debug programs
    Create token object
    Increase quotas
    Lock pages in memory
    Log on as a service
    Replace a process level token

    1 - You'd have to create a user account which belongs to Admin group with has 8 chars max.

    2 - Still logged on as the previous user, run db2iupdt with /u option to update the instance with the new user. This is documented below:

    http://publib.boulder.ibm.com/infoce.../r0002060.html

    3 - Logoff/Logon as new user. Make sure you can issue db2start as the new user.

    4 - Create a new database. It should use the implicit schema of the user you are logged in as, which is the new user. Then, you should be able to safely remove the previous id after cleaning-up the previous database.

  3. #3
    Membre averti
    Inscrit en
    Mai 2009
    Messages
    20
    Détails du profil
    Informations forums :
    Inscription : Mai 2009
    Messages : 20
    Par défaut
    Forgot to mention:

    If the above (db2iupdt) doesn't work, another suggestion would be dropping the existing instance and recreating it using db2icrt command. This is documented below:

    http://publib.boulder.ibm.com/infoce.../r0002057.html

Discussions similaires

  1. [1.x] Question sur les relations mon schéma
    Par Calvein dans le forum Symfony
    Réponses: 3
    Dernier message: 11/06/2010, 15h32
  2. question sur db2 batch
    Par offrerem dans le forum z/OS
    Réponses: 4
    Dernier message: 28/06/2008, 23h38
  3. Question sur index DB2 400
    Par Jibon dans le forum DB2
    Réponses: 4
    Dernier message: 19/08/2007, 16h58
  4. Question sur IBM DB2
    Par SQLpro dans le forum DB2
    Réponses: 3
    Dernier message: 12/06/2007, 14h57
  5. [DB2] Question sur les index et les vues
    Par ahoyeau dans le forum DB2
    Réponses: 1
    Dernier message: 14/03/2005, 08h30

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo