oracle中scott不可登录的解决办法
来源:互联网 发布:音乐播放 知乎 编辑:程序博客网 时间:2024/06/08 08:35
今天用scott用户登录Oracle数据库时,竟然出现了ORA-01017: invalid username/password; logon denied错误,原以为是因为我的scott用户没有解锁,后用system用户登录,然后用alter user scott account unlock语句对scott用户进行解锁,可是解锁后依然不能进入,还是报告ORA-01017: invalid username/password; logon denied错误,仔细想了一会,感觉应该是我在对scott用户解锁时没有设置密码,所以不论输入什么密码都是错误的,于是我想到了如下的解决办法,为防止以后犯此类错误,现将错误及解决方式记录于下:
SQL*Plus: Release 11.2.0.1.0 Production on 星期五 10月 12 20:03:09 2012
Copyright (c) 1982, 2010, Oracle. All rights reserved.
请输入用户名: scott
输入口令:
ERROR:
ORA-01017: invalid username/password; logon denied
请输入用户名: system
输入口令:
连接到:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> conn /as sysdba;
已连接。
SQL> alter user SCOTT account unlock identified by Orcl123456;
用户已更改。
SQL> select username,account_status from dba_users where username='SCOTT';
USERNAME
------------------------------------------------------------
ACCOUNT_STATUS
----------------------------------------------------------------
SCOTT
OPEN
SQL> conn scott/Orcl123456
已连接。
SQL*Plus: Release 11.2.0.1.0 Production on 星期五 10月 12 20:03:09 2012
Copyright (c) 1982, 2010, Oracle. All rights reserved.
请输入用户名: scott
输入口令:
ERROR:
ORA-01017: invalid username/password; logon denied
请输入用户名: system
输入口令:
连接到:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> conn /as sysdba;
已连接。
SQL> alter user SCOTT account unlock identified by Orcl123456;
用户已更改。
SQL> select username,account_status from dba_users where username='SCOTT';
USERNAME
------------------------------------------------------------
ACCOUNT_STATUS
----------------------------------------------------------------
SCOTT
OPEN
SQL> conn scott/Orcl123456
已连接。
0 0
- oracle中scott不可登录的解决办法
- Oracle scott 用户登录时 the account is locked 解决办法
- Oracle Scott用户登录
- Oracle Scott用户不能登录
- oracle 登录及解锁scott
- Oracle使用Scott用户登录
- Oracle 中启动 Scott 用户 的方法
- Oracle中scott用户的由来
- Oracle中启动Scott用户的方法
- Oracle中用户scott中表的详解
- oracle 中scott用户的创建方法
- Oracle数据库中Scott用户的解锁
- Oracle中scott账户的解锁
- 无法以scott/tiger登录Oracle 10g的解决方法
- oracle刚开始时Scott账户是lock状态的解决办法
- oracle关于scott无法登陆,scott账号被锁定的解决办法
- Oracle的scott用户
- Oracle下scott用户无法登录
- 源码库网站
- Yii中引入js和css文件
- class命名
- 音视频封装格式、编码格式知识
- “找不到或无法加载主类”错误的原因
- oracle中scott不可登录的解决办法
- spring boot(7) 配置外部tomcat(1)
- 关于m3u8知识点
- Google CSE帮你多站点同时站内搜索
- 面试题
- Cef介绍及下载地址和官方网站
- Yii2 里使用Redis扩展
- Android培训实战教程之 Studio下JNI开发
- Scala学习参考资料