[oracle11g]忘记system账号密码

1、项目中要修改数据库连接数
2、需要system账号修改
3、切换到oracle环境下

SQL> quit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
-bash-4.1$ ./sqlplus "/as sysdba";

SQL*Plus: Release 11.2.0.1.0 Production on Sat Oct 10 11:22:38 2020

Copyright (c) 1982, 2009, Oracle.  All rights reserved.


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options


4、输入:sqlplus “/as sysdba”;
进入sqlplus后就可以修改sys和system的密码了

SQL> alter user sys identified by "123456";

User altered.

SQL> 

3、alter user sys identified by “密码”
alter user system identified by “密码”

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值