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 “密码”