createtablespace dp_crqssingle_uc datafile '/opt/oracle/oradata/develop/dp_crqssingle_uc.dbf' size 10m autoextend on;
createuser dp_crqssingle_uc identified by dp_crqssingle_uc default tablespace dp_crqssingle_uc;
grantconnectto dp_crqssingle_uc;
grant dba to dp_crqssingle_uc;
grant unlimited tablespace to dp_crqssingle_uc;
createtablespace credit datafile '/u01/app/oracle/oradata/XE/credit.dbf' size 10m autoextend on;
createuser credit identified by credit_8520 default tablespace credit;
grantconnectto credit;
grant dba to credit;
grant unlimited tablespace to credit;
createtablespace QUERY1102 datafile 'D:\Root\Opt\SDE\oraclexe\oradata\Data\QUERY1102.dbf' size 10m autoextend on;
createuser QUERY1102 identified by QUERY1102 default tablespace QUERY1102;
grantconnectto QUERY1102;
grant dba to QUERY1102;
grant unlimited tablespace to QUERY1102;
大系统解锁
select*from outeruser a where a.userid='yangqinhua'forupdate;
update outeruser set password='96J0TlUbNWulsaAHLaFRVg=='where userid='yangqinhua';
update outeruser set lockflag='0',locktime=''where userid='yangqinhua';
oracle用户被锁
报错信息
ORA-28000: the account is locked
解决命令
(1)conn sys/sys as sysdba; //以DBA的身份登录
(2)alter user scott account unlock;// 然后解锁
(3)conn scott/tiger //弹出一个修改密码的对话框,修改一下密码就可以了
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· DeepSeek 开源周回顾「GitHub 热点速览」
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· .NET10 - 预览版1新功能体验(一)