oracle如何查看用戶和密碼 如何查看oracle用戶的密碼?
如何查看oracle用戶的密碼?一般來(lái)說(shuō),安裝Oracle數(shù)據(jù)庫(kù)后,會(huì)有很多默認(rèn)帳戶和密碼。常見(jiàn)的有:Account:Scott password:Tiger Account:system passw
如何查看oracle用戶的密碼?
一般來(lái)說(shuō),安裝Oracle數(shù)據(jù)庫(kù)后,會(huì)有很多默認(rèn)帳戶和密碼。常見(jiàn)的有:Account:Scott password:Tiger Account:system password:Manager Account:sys password:any character。當(dāng)我們想要?jiǎng)?chuàng)建一個(gè)帳戶時(shí),我們可以使用sys登錄到SYSDBA并創(chuàng)建一個(gè)用戶(需要授權(quán))。代碼如下:create user,通過(guò)“password”授權(quán)標(biāo)識(shí)的用戶名:將create session授予user name,將create table授予user name,將create tablespace授予user name,將create view授予user name,通常使用Scott登錄SYSDBA。此時(shí),帳戶可能無(wú)法解鎖。此時(shí),我們可以使用alter user Scott account unlock來(lái)解鎖帳戶。解鎖后,可能會(huì)要求您更改密碼:您可以使用老虎識(shí)別的alter用戶Scott再次登錄conn Scott/tiger