oracle 解鎖scott使用者

2021-09-23 18:23:32 字數 633 閱讀 9827

@/oracle/product/11.2.0/dbhome_1/rdbms/admin/utlsampl.sql   ---解鎖scott使用者

alter user scott account unlock;            ---賦許可權

alter user scott identified by oracle;

1、預設 oracle 沒有 scott 使用者,需要找到建立使用者的指令碼

#find /u01/product/ -name *sam*.sql

-u01 是 oracle 安裝目錄

/oracle/product/11.2.0/dbhome_1/rdbms/admin/utlsampl.sql

2、執行指令碼

@路徑*sam*.sql

sql>@/oracle/product/11.2.0/dbhome_1/rdbms/admin/utlsampl.sql

可能用到解鎖 scott 使用者的操作

alter user scott account unlock;

檢視當前(scott)使用者擁有的表

sqlplus /nolog

conn scott/tiger

select * from user_tables;

Oracle解鎖scott使用者

原因 預設oracle10g的scott不能登陸。解決 1 conn sys sys as sysdba 以dba的身份登入 2 alter user scott account unlock 然後解鎖 3 conn scott tiger 彈出乙個修改密碼的對話方塊,修改一下密碼就可以了 具體操作...

scott使用者解鎖

預設oracle10g的scott不能登陸。解決 1 conn sys sys as sysdba 以dba的身份登入 2 alter user scott account unlock 然後解鎖 3 conn scott tiger 彈出乙個修改密碼的對話方塊,修改一下密碼就可以了 具體操作步驟如...

oracle的scott使用者的解鎖

oracle 中啟動 scott 使用者 的方法 在 oracle10g,g 代表 網路 的意思 資料庫中 scott 這個使用者 安裝時是被鎖定的,安裝 oracle的時候 你可以直接選擇 給該使用者 解鎖,如果忘記了解鎖,後期可以使用 sqlplus工具 通過命令將其解鎖。預設的scott使用者...