太久没用sys登陆数据库 用默认密码登陆不想 记不清密码了 可以通过以下方式修改sys用户密码 使用sqlplus可以这样登陆 sqlplus / as sysdba 进入后你show user看一下就是sys用户,因为sys用户登录默认使用操作系统验证,并不检查密码. 不过你要修改的话,可以进入sqlplus后这样执行 alter user sys identified by newpass; newpass就是你要设的密码 [oracle@kfcs ~]$ sqlplus / as sysdba SQL*Plus: Release 10.2.0.4.0 - Production on Wed Apr 17 09:25:09 2013 Copyright (c) 1982, 2007, Oracle. All Rights Reserved. Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production With the Partitioning, OLAP, Data Mining and Real Application Testing options SQL> show user; USER is "SYS" SQL> alter user sys identified by change_on_install; User altered. SQL> commit; Commit complete. SQL> 在PL/SQL 中成功登陆了system 密码manager sys 密码 change_on_install root是操作系统的用户,不是oracle的默认用户 sysdba不是oracle的默认用户
oracle 几个用户的默认密码及修改
最新推荐文章于 2023-06-19 20:09:49 发布