oracle – ORA-00988:密码丢失或无效

前端之家收集整理的这篇文章主要介绍了oracle – ORA-00988:密码丢失或无效前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我正在尝试更改oracle密码:
alter user FOO identified by 'BAR';

我得到以下回复

Error starting at line 120 in command:
alter user FOO identified by 'BAR'
Error report:
sql Error: ORA-00988: missing or invalid password(s)
00988. 00000 -  "missing or invalid password(s)"

这是怎么回事?

原来一个不把密码放在单引号中.如果密码包含一些特殊字符,则需要双引号.
alter user FOO identified by 'BAR'; -- Broken
alter user FOO identified by BAR;   -- Works
alter user FOO identified by "BAR"; -- Works

猜你在找的Oracle相关文章