ssma Не удалось подключиться к Oracle. ORA-01017: неверное имя пользователя / пароль; вход запрещен - PullRequest
0 голосов
/ 12 июня 2019

Я пытаюсь перенести базу данных oracle на сервер sql с помощью Microsoft SQL Server Migration Assistant8.2 для Oracle, он подключен к серверу sql, но отказался войти в систему для oracle.Это изображение для формы входа в систему от ssma enter image description here, от разработчика Oracle, и оно успешно подключилось

enter image description here

1 Ответ

0 голосов
/ 13 июня 2019

Может быть чувствительность к регистру пароля.Приложение может принудительно ввести пароль и имя в большом случае.Параметр SEC_CASE_SENSITIVE_LOGON позволяет контролировать пароли с учетом регистра.Попробуйте ввести пароль в одинарных кавычках или измените параметр SEC_CASE_SENSITIVE_LOGON на false alter system set sec_case_sensitive_logon=FALSE;

Проверьте параметр SEC_CASE_SENSITIVE_LOGON.

select value  from  v$parameter a where a.name='sec_case_sensitive_logon'

------------
TRUE

Например.

create user test identified by TestPass;
grant connect to test;

oracle@esmd:~> sqlplus test/testpass

SQL*Plus: Release 11.2.0.3.0 Production on Thu Jun 13 06:33:25 2019

Copyright (c) 1982, 2011, Oracle.  All rights reserved.

ERROR:
ORA-01017: invalid username/password; logon denied


Enter user-name: test/TestPass

Connected to:
Oracle Database 11g Release 11.2.0.3.0 - 64bit Production

SQL> exit
Disconnected from Oracle Database 11g Release 11.2.0.3.0 - 64bit Production

oracle@esmd:~> sqlplus test/'TestPass'

SQL*Plus: Release 11.2.0.3.0 Production on Thu Jun 13 07:14:17 2019

Copyright (c) 1982, 2011, Oracle.  All rights reserved.


Connected to:
Oracle Database 11g Release 11.2.0.3.0 - 64bit Production

SQL>

alter system set sec_case_sensitive_logon=FALSE;


oracle@esmd:~> sqlplus test/testpass

SQL*Plus: Release 11.2.0.3.0 Production on Thu Jun 13 06:35:11 2019

Copyright (c) 1982, 2011, Oracle.  All rights reserved.


Connected to:
Oracle Database 11g Release 11.2.0.3.0 - 64bit Production

SQL> exit
Disconnected from Oracle Database 11g Release 11.2.0.3.0 - 64bit Production
oracle@esmd:~> sqlplus test/TestPass

SQL*Plus: Release 11.2.0.3.0 Production on Thu Jun 13 06:35:35 2019

Copyright (c) 1982, 2011, Oracle.  All rights reserved.


Connected to:
Oracle Database 11g Release 11.2.0.3.0 - 64bit Production

SQL> exit
Disconnected from Oracle Database 11g Release 11.2.0.3.0 - 64bit Production
oracle@esmd:~> sqlplus test/TESTPASS

SQL*Plus: Release 11.2.0.3.0 Production on Thu Jun 13 06:35:47 2019

Copyright (c) 1982, 2011, Oracle.  All rights reserved.


Connected to:
Oracle Database 11g Release 11.2.0.3.0 - 64bit Production

SQL> exit
Disconnected from Oracle Database 11g Release 11.2.0.3.0 - 64bit Production
oracle@esmd:~>
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...