免责声明: 本文转自网络文章,转载此文章仅为个人收藏,分享知识,如有侵权,请联系博主进行删除. 原文作者:xwdreamer 原文地址: 错误:ORA-28002: the password will expire within 7 days 解决方法 今天在使用sqlplus时出现 =============================================== ERROR: ORA-28002: the password will expire…
今天在使用sqlplus时出现 =============================================== ERROR:ORA-28002: the password will expire within 7 days =============================================== 提示密码快过期了,由于需要连接的测试数据库,所以决定将密码设置成永不过期. 1.查看用户的profile设置: SELECT username,profile FR…
ERROR:ORA-28002: the password will expire within 7 days 错误是提示password快过期了,有两个办法解决问题. 一. 改动已经报错用户的password 已经被报告了password快要过期的账户必须再改一次password(须要DBA权限) 以system用户为例 sqlplus / as sysdba alter user system identified by root; 再连接数据再也不会出现password过期的事情了. 假设…
今天在使用sqlplus时出现 =============================================== ERROR:ORA-28002: the password will expire within 7 days OR ORA- 65162 The password has expired =============================================== 提示密码快过期了,由于需要连接的测试数据库,所以决定将密码设置成永不过期. 1.查看用…
最后一步要改密码,否则还会报错. 1. 查看用户的profile设置: SELECT username,profile FROM dba_users; 一般用户的profile设置都为DEFAULT.2. 查看系统profiles中PASSWORD_LIFE_TIME设置: SELECT * FROM dba_profiles s WHERE s.profile='DEFAULT' AND resource_name='PASSWORD_LIFE_TIME'; PROFILE RESOURCE_…
利用安全模式成功登陆,然后修改密码,等于给MySql设置了密码.登陆进去后,想查询所有存在的数据库测试下.得到的结果确实: ERROR 1820 (HY000): You must SET PASSWORD before executing this statement 非常诡异啊,明明用密码登陆进去了,怎么还提示需要密码. 参考官方的一个文档,见http://dev.mysql.com/doc/refman/5.6/en/alter-user.html.如下操作后就ok了: mysql> sh…
Oracle11g R2数据库提示ORA-28002: the password will expire within 5 days,是说密码过期,将Oracle密码设置成永不过期就可以了,不过并不推荐这样做,最好是将日期密码有效期设置长一些. 工具/原料 Oracle11g R2 sqlplus 方法/步骤 SQLDeveloper连接数据库提示 ORA-28002: the password will expire within 5 days 登录到sqlplus sqlplus…