我尝试使用Microsoft SQL Server Migration Assistant8.2 for Oracle将oracle数据库迁移到sql服务器,它已连接到sql server,但拒绝登录到oracle。 这是ssma登录表单的图像 这是来自oracle sql开发人员的,它已成功连接
答案 0 :(得分:0)
可能区分密码大小写。应用程序可以在大写情况下强制输入密码和名称。 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:~>