---
title: "账户启用 oracle scott"
author: "wing123"
date: "2011-02-03T21:42:04Z"
tags: ["Oracle"]
categories: ["企业架构"]
slug: "oracle-scott"
draft: false
lastmod: "2011-02-03T21:42:34Z"
id: 900957
url: "https://wing123.iteye.com/blog/900957"
---

默认的scott用户是被锁定的，先解锁就能登陆上了。  
使用下面的语句解锁scott:  
alter user scott account unlock;  
解锁之后可能会要求你该密码：  
alter user scott identified by tiger;  
再登陆：  
sqlplus scott/tiger  
就能登陆了

用命令行启用帐户 先解锁后 一定要设密码 不然还是无法登陆  
最后要进行提交。