解除賬戶鎖定與更改口令

2021-05-09 09:50:10 字數 503 閱讀 7392

1.使用enterprise manager database control 解鎖並更改口令:

用瀏覽器開啟http://pc-200909241204:5500/em,然後以sysdba的角色登陸oem控制台,在「管理」頁面選擇「使用者和許可權」中的「使用者」,oem就會顯示包含所有資料庫賬戶的列表,包括賬戶狀態以及是否過期等資訊,選定要修改的使用者,編輯就ok了。

2、使用sql*plus解鎖並更改口令

sql>conn lijing/lijing as sysdba

sql>alter user aa account unlock;

管理帳戶和口令的sql語句:

帳戶解鎖:alter user [identified by ] account unlock;

是使用者名稱,identified by 中的是更改後的新口令。

鎖定帳戶:alter user account lock;

更改已解鎖賬戶的口令: alter user identified by 。

oracle 賬戶鎖定解除

今天進使用 oracle 發現系統中,system賬戶登入裡提示賬戶被鎖定 後來查了查資料,問題解決。以為為從cmd裡面複製的命令列 microsoft windows 版本 5.2.3790 c documents and settings administrator sqlplus nolog ...

更改口令的介面的開發 (VC和資料庫應用)

changepswdlg.cpp implementation file include stdafx.h include address.h include changepswdlg.h include pswdset.h ifdef debug define new debug new unde...

MySql帳戶的建立與刪除 口令更改

1.建立使用者賬戶 可以用三種方式建立mysql賬戶 1 使用grant語句 2 直接操作mysql授權表 3 使用create user語句 最好的方法是使用grant語句,因為這樣更精確,錯誤少。建立賬戶的其它方法是使用mysql賬戶管理功能的第三方程式。phpmyadmin即是乙個程式。下面的...