DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: db link

  1. #1
    Join Date
    May 2005
    Location
    Boracay
    Posts
    681

    db link

    Hi Dear Friends,

    I create a database link using the ff:

    sql> create database link link01 connect to
    scott identified by tiger using 'ORA1';

    If scott chages his password my db link will get error, what is the command
    to create a dblink bypassing a user/schema password?

    Thanks a lot
    Behind The Success And Failure Of A Man Is A Woman

  2. #2
    Join Date
    Mar 2007
    Location
    Ft. Lauderdale, FL
    Posts
    3,555
    That's correct, password in dblink has to match account current password.

    A dblink acts as nothing but a client trying to connect to a database, that's why a valid account/password combination is needed.

    As a rule of thumbs you don't want to use in a dblink connection an account that actually belongs to a person; you want to create in the target databaase an account to be used exclusively by the dblink. In my experience even SOX auditors allow you to exempt this type of account of password expiration/password change procedures.
    Last edited by PAVB; 08-25-2007 at 06:03 PM.
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.

  3. #3
    Join Date
    May 2005
    Location
    Boracay
    Posts
    681
    thanks a lot dear
    Behind The Success And Failure Of A Man Is A Woman

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width