C:\Users\Administrator>sqlplus / as sysdba
SQL*Plus: Release 12.1.0.1.0 Production on 星期四 10月 21 13:57:15 2021
Copyright (c) 1982, 2013, Oracle. All rights reserved.
ERROR:
ORA-01017: invalid username/password; logon denied
请输入用户名:
ERROR:
ORA-01017: 用户名/口令无效; 登录被拒绝
请输入用户名:
数据库的sqlnet.ora文件需要修改
E:\app\orcl\product\12.1.0\dbhome_1\NETWORK\ADMIN\sqlnet.ora
# sqlnet.ora Network Configuration File: E:\app\orcl\product\12.1.0\dbhome_1\network\admin\sqlnet.ora
# Generated by Oracle configuration tools.
# This file is actually generated by netca. But if customers choose to
# install "Software Only", this file wont exist and without the native
# authentication, they will not be able to connect to the database on NT.
SQLNET.AUTHENTICATION_SERVICES= (NNOE)
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
tcp.validnode_checking=yes
tcp.invited_nodes=(192.168.253.12,192.168.253.13,112.122.8.2,127.0.0.1)
将SQLNET.AUTHENTICATION_SERVICES= (NNOE)
改成SQLNET.AUTHENTICATION_SERVICES= (NTS)