Для создания пользователя выполнил следующие команды через SQL*Plus:
SQL> conn / as sysdba;
Connected.
SQL> alter session set container = orclpdb;
Session altered.
SQL> create user admin identified by qq;
User created.
SQL> grant dba to admin;
Grant succeeded.
SQL> connect admin/qq@db12c;
ERROR:
ORA-01017: invalid username/password; logon denied
Warning: You are no longer connected to ORACLE.
Все время получаю такую ошибку:
ORA-01017: invalid username/password; logon denied
Что я делаю не так?
Tакже приложу файл tnsnames.ora:
# tnsnames.ora Network Configuration File: C:\app\admin\product\12.2.0\dbhome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
PROBA.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = PROBA)
)
)
LISTENER_DB12C =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
)
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
)
)
DB12C =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = db12c)
)
)