ORA-01017 Invalid Username/Password when connecting to 11g database from 9i client

前端 未结 15 1865
粉色の甜心
粉色の甜心 2020-11-27 05:17

I\'m trying to connect to a schema on 11g (v11.2.0.1.0) from a PC with 9i (v9.2.0.1) client. It seems to connect fine to some schemas, but not this one - it comes back with

相关标签:
15条回答
  • 2020-11-27 05:50

    The user and password are DEFINITELY incorrect. Oracle 11g credentials are case sensitive.

    Try ALTER SYSTEM SET SEC_CASE_SENSITIVE_LOGON = FALSE; and alter password.

    http://oracle-base.com/articles/11g/case-sensitive-passwords-11gr1.php

    0 讨论(0)
  • 2020-11-27 05:50

    I had the same issue and put double quotes around the username and password and it worked: create public database link "opps" identified by "opps" using 'TEST';

    0 讨论(0)
  • 2020-11-27 05:53

    for oracle version 12.2.x users cannot login using case insensitive passwords, even though SEC_CASE_SENSITIVE_LOGON = FALSE if PASSWORD_VERSIONS of user is not 10g.

    following sql should show the PASSWORD_VERSIONS for a user.

    select USERNAME,ACCOUNT_STATUS,PASSWORD_VERSIONS from dba_users;
    USERNAME          ACCOUNT_STATUS    PASSWORD_VERSIONS 
    ---------------   --------------    -----------------
    dummyuser         OPEN              11G 12C
    

    to make PASSWORD_VERSIONS compatible with 10g

    add/modify line in sqlnet.ora of database to have SQLNET.ALLOWED_LOGON_VERSION_SERVER=8 restart database change/expire password for existing user new users created will also have same settings after above steps PASSWORD_VERSIONS should be something like this

    select USERNAME,ACCOUNT_STATUS,PASSWORD_VERSIONS from dba_users;
    USERNAME          ACCOUNT_STATUS    PASSWORD_VERSIONS 
    ---------------   --------------    -----------------
    dummyuser         OPEN              10G 11G 12C
    
    0 讨论(0)
  • 2020-11-27 05:53

    I had a similar problem recently with Oracle 12c. I created a new user with a lower case password and was able to login fine from the database server but all clients failed with an ORA-01017. The fix turned out to be simple in the end (reset the password to upper case) but took a lot of frustrating effort to get there.

    0 讨论(0)
  • 2020-11-27 05:54

    You may connect to Oracle database using sqlplus:

    sqlplus "/as sysdba"
    

    Then create new users and assign privileges.

    grant all privileges to dac;
    
    0 讨论(0)
  • 2020-11-27 05:55

    I had the same error, but while I was connected and other previous statements in a script ran fine before! (So the connection was already open and some successful statements ran fine in auto-commit mode) The error was reproducable for some minutes. Then it had just disappeared. I don't know if somebody or some internal mechanism did some maintenance work or similar within this time - maybe.

    Some more facts of my env:

    • 11.2
    • connected as: sys as sysdba
    • operations involved ... reading from all_tables, all_views and granting select on them for another user
    0 讨论(0)
提交回复
热议问题