The Administrator cannot delete the DB Link created by other users.

Source: Internet
Author: User

The Administrator cannot delete the DB Link created by other users (for example, emcd ):

(1) you can log on to the database as an administrator, query dba_users, and write down the values of the user's emcd password:

SQL> select username, password from dba_users where username = 'emcd ';

USERNAME PASSWORD

---------------------------

EMCD 73401EA912C54B8C

Then modify the user's emcd password:

SQL> alter user emcd identified by emcd123;

The user has changed.

(2) log on to the database with the user emcd and the new password emcd123, and delete the DB Link it owns:

SQL> conn emcd/emcd123;

Connected.

SQL> drop database link ttt1;

The database link has been deleted.

(3). log on to the database as an administrator and change the password of emcd back to the original value:

SQL> conn sys as sysdba;

Enter the password:

Connected.

SQL> alter user emcd identified by values '73401ea912c54b8c ';

The user has changed.

At this time, the password has been changed to the original value.

In fact, the original password is emcd. You can test whether the password has been changed:

SQL> conn emcd/emcd;

Connected.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.