用sys用戶指定 不要隨便指定 密碼開頭別用數字和特殊字符比較妥當 一定要用加雙引號
sys 默認密碼是change_on_install
;system 默認密碼是manager;scott 默認密碼tiger都可以改10g更爲安全
1、鏈接oracle數據庫:
D:/oracle/ora92/bin>sqlplus /nolog
SQL*Plus: Release 9.2.0.1.0 - Production on 星期四 8月 16 11:32:22 2007
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
SQL>
2、以OS身份登錄oracle:
SQL> conn /as sysdba
已連接。
3、重新設定system和sys賬戶的密碼:
SQL> alter user system identified by password;
用戶已更改。
SQL> alter user sys identified by password;
用戶已更改。
SQL> exit
4、退出後,嘗試鏈接system和sys賬戶,肯定成功,本人親測。
密碼就變爲了password