Oracle 数据库已创建,但用户名/密码无效
我使用的是 Windows 7 64 位操作系统和 Oracle 11g。我成功创建了数据库。我使用 sqlplus 使用正确的用户名/密码登录,但它给出了无效的用户名/密码。登录被拒绝。我们有超过 10 个人使用相同类型的机器和软件,并且每个人都遵循相同的安装文档。除了我以外,其他人都可以正常登录。有什么问题吗?我没有更改任何用户名和密码。是系统方面的问题还是安装问题或者数据库设置问题?
I'm using Windows 7 64-bit os with oracle 11g. I created a database succesfully. i'm loging in using sqlplus with correct username/password, but it giving the invalid username/password. Logon denied. We are more than 10 people using the same kind of machine and softwares and everyone following the same documentation for installation. Except me every one can able to login properly. What's the problem ? I'm not changed any username and password. Is system side issue or installation problem or database setup problem?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
不太可能与数据库或安装相关。 11g之前,密码不区分大小写,非常
如果密码的大写值因 NLS 设置而异,则异国情调的密码可能会带来麻烦。
当您在安装过程中输入密码时,可能是一个“粘滞键”。或者,如果您触摸打字,则可能会被按键偏移。
尝试“
sqlplus / as sysdba
”如果有效,请使用
ALTER USER username IDENTIFIED BY password
重置密码。如果您无法以 sysdba 身份登录,则应尝试使用 Windows 管理员帐户。
Unlikely to be database or installation related. Pre 11g, with case-insensitve passwords, very
exotic passwords could give trouble if the uppercase value of the password was different depending on NLS settings.
Could be a 'sticky key' when you entered the password during installation. Or, if you touch type, you might have been offset by a key.
try a "
sqlplus / as sysdba
"If that works, reset the password with
ALTER USER username IDENTIFIED BY password
If you can't get in as sysdba you should try using a Windows admin account.
在 11G 中,密码区分大小写。因此,请确保您正确输入密码。
In 11G passwords are case sensitive. So make sure you type in your password correctly.
您创建新用户时使用的密码是什么?
Oracle 11 G 和 12 C 版本建议使用更复杂的密码,尽管在用户创建过程中没有问题。密码必须是字母数字和特殊字符。
验证用户的密码版本和状态:
11G 12C 修改如下:
现在测试连接!
What was the password you used when creating the new user ?
Oracle 11 G and 12 C versions suggest to use more complex passwords, Although there is no issues during the user creation. The password must be alphanumeric and with special character.
Verify the password version and status of the user:
Amend it to be like below in case of 11G 12C:
Now test connection!