---
title: "无法以scott/tiger登录Oracle 10g的解决方法"
author: "piperzero"
date: "2008-09-09T17:09:00Z"
tags: []
slug: "scott-tiger-oracle-10g"
draft: false
lastmod: "2013-02-21T19:56:23Z"
id: 1811715
url: "https://piperzero.iteye.com/blog/1811715"
---

**以scott/tiger登录时提示ora-28000 the account is locked。**

**解决：**

在运行里面输入sqlplus sys/thtwin as sysdba(当然也可以进入DOS窗口之后再操作),以sys用户名登录，密码是刚装oracle时自己填写的密码thtwin，登录进去以后。

1. SQL&gt;alteruserscottaccountunlock;
2. Useraltered.
3. SQL&gt;commit;
4. Commitcomplete.
5. SQL&gt;connscott/tiger//请输入新密码，并确认后OK
6. Passwordchanged
7. Connected.

这时再到sqlplus里面以scott/tiger登录就可以了