After I installed Oracle SE 12c on my server, some clients with 11Gr2 or 9i (OCI,Oledb,.net and ODBC drivers) started to show the following error:
ORA-01017: invalid username/password; logon denied
오라클 12c 설치 하면 기존에 사용하던 11g 프로그램을 이용하여 접속시 위와 같은 에러가 나올때가
있다 .
그 경우 아래와 같이 해 주면된다.
1) 아래와 같이 oracle 에 sqlnet.ora 파일을 수정한다.
sqlnet.ora
SQLNET.ALLOWED_LOGON_VERSION_CLIENT=8
SQLNET.ALLOWED_LOGON_VERSION_SERVER=8
2) password 버전을 확인 합니다.
select USERNAME,ACCOUNT_STATUS,PASSWORD_VERSIONS from dba_users;
USERNAME ACCOUNT_STATUS PASSWORD_VERSIONS
————— ————– —————–
dummyuser OPEN 11G 12C
3) 기존 패스워드를 재생성 합니다.
You must be careful with quotes and doble quotes.
It’s recommended to reset the user password, using a admin credentials.
ALTER USER user_name IDENTIFIED BY new_password;
4)접속을 해본다.