oracle 11g xeにいつものように用意してあるHRスキーマを初期化

PS:yoshi-13> sqlplus hr/hr@xe

SQL*Plus: Release 11.2.0.2.0 Production on 土 6月 15 02:14:48 2013

Copyright (c) 1982, 2010, Oracle.  All rights reserved.

ERROR:
ORA-28000: the account is locked

そうなんですね。。

SQL> alter user hr account unlock;

ユーザーが変更されました。

SQL> disconn
Oracle Database 11g Express Edition Release 11.2.0.2.0 - Productionとの接続が切断されました。
SQL> conn hr/hr@xe
ERROR:
ORA-01017: invalid username/password; logon denied

うほほ。。

SQL> alter user hr identified by hr;

ユーザーが変更されました。

SQL> disconn
Oracle Database 11g Express Edition Release 11.2.0.2.0 - Productionとの接続が切断されました。
SQL> conn hr/hr@xe
接続されました。

(^ω^)にこっ