如果 在安装oracle数据库的时候没有设置 sys 和system的口令
我们可以按照以下方法 设置
-
启动sqlplus
-
请输入用户名: sqlplus/as sysdba
-
输入口令: 直接回车
-
连接到:
oracle database 11g enterprise edition release 11.2.0.1.0 - production
with the partitioning, olap, data mining and real application testing options
sql>alter user sys identified by admin;
用户已更改。
sql> conn sys/admin as sysdba;
已连接。
sql> alter user system identified by manager;
用户已更改。
更改后sys 密码 admin
system 密码 manager