Oracle user name and password Modification

Source: Internet
Author: User

Oracle user name and password Modification

After the Oracle database is copied or cloned, you often need to modify the user name and password. The following describes the modification methods and steps:

1. query the table USER $

Select name, USER # FROM user $ where upper (TRIM (NAME) = 'user name ';

2. Modify the user name

UPDATE user $ set name = 'new name' where user # = (select user # FROM user $ where upper (TRIM (NAME) = 'user name ');

COMMIT;

3. Clear Cache

Alter system checkpoint;
Alter system flush SHARED_POOL;

COMMIT;

4. Change the user password and unlock the account

Alter user username identified by 'new password ';

Alter user username account unlock; -- UNLOCK the ACCOUNT

COMMIT;

Modification completed ~~~ Use new users and secret login ......

Migration from 32-bit to 64-bit for a single Oracle instance

Install Oracle 11gR2 (x64) in CentOS 6.4)

Steps for installing Oracle 11gR2 in vmwarevm

Install Oracle 11g XE R2 In Debian

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.