Home> Database> Oracle> body text

How to change oracle user password

coldplay.xixi
Release: 2023-01-13 00:40:17
Original
93563 people have browsed it

How to modify the oracle user password: First connect to the server where the oracle database is located and enter the oracle console; then enter "select username from dba_users" to view the user list; finally enter to modify the user password.

How to change oracle user password

The operating environment of this tutorial: Windows 7 system, Oracle version, DELL G3 computer.

How to modify the oracle user password:

1. Use CRT to connect to the server where the oracle database is located as the user who installed the oracle database. (Take the server as Linux as an example)

How to change oracle user password

##2. Enter the command:

sqlplus /nolog, enter the oracle console, and enterconn / as sysdba;Enter as DBA role.

How to change oracle user password

#3. After the connection is successful, enter "select username from dba_users" to view the user list.

How to change oracle user password

4. If you want to change the password of a certain user, change the user password format to:

alter user 用户名 identified by 新密码;
Copy after login

Taking apps as an example, change the password to 123456. You can enter

alter user apps identified by 123456;
Copy after login

How to change oracle user password

#5. The modification is successful.

How to change oracle user password

## Recommended (free):

oracle

The above is the detailed content of How to change oracle user password. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!