I have a oracle server which is our disaster recovery server. When I failover my application from primary site to secondary site, we have a downtime window during which we have to bring up the secondary site. When bringing up the application on the secondary site I am getting below error
java.sql.SQLException: ORA-01017: invalid username/password; logon denied
However, when I try to connect from the SQLPLUS it connects successfully with same username and password but it does not work with JDBC. In order to zero on the issue I tried connecting with SQL Developer with same username and password and it shows the same error.
Can somebody please advice what could the setting be on the oracle server which restricts the JDBC connections?
There is the below setting in the oracle database in sqlnet.ora file
SQLNET.ALLOWED_LOGON_VERSION=12
after commenting the above it worked.
Related
I'm looking for some help in figuring out the correct syntax to connect to Oracle from ADF using a proxy user authentication.
The setup is:
An integration runtime has been setup to connect to an on-premise Oracle instance
The connection type is on Oracle Service Name
User name and Password are provided.
When simply using the user name / password combination the connection can be established, and the tables in the (proxy) user schema can be viewed.
However, these are not the correct tables as the setup in the Oracle instance is using connect through / proxy user authentication. Usually, the syntax for login is username[schema-you-want-to-work-with] for this but this does not work in Azure Data Factory for me.
I have tried various syntax attempts in the connection JSON, using additional connection properties but not luck. The error message, when logging in with the proxy user authentication, is always
ERROR [28000] [Microsoft][ODBC Oracle Wire Protocol driver][Oracle]ORA-01017: invalid username/password; logon denied ERROR [28000] [Microsoft][ODBC Oracle Wire Protocol driver][Oracle]ORA-01017: invalid username/password; logon denied Activity ID: da224af9-16ad-4674-a4c9-4811be8f726c.
Logging in with SQL Plus or SQL Developer works with the same connection string.
Does anyone have an idea how I can log in with the proxy user and see the normal schema content? I'm thinking it may just be a syntax issue but I'm out of ideas.
Basic successful connection
Unsuccessful connection with connect through
good morning I am writing because I am trying to connect to an oracle 12c database that is in an oracle container, the question is what I am doing with a user that created but I get the error ORA-01017:
On the other hand, if I try the system user with his password that can be obtained at the following link: https://hub.docker.com/_/oracle-database-enterprise-edition?tab=reviews, everything works fine and the connection it's correct:
As you can see below the user is already created and I can even connect from the server to the database:
Try applying what you say in this question: ORA-01017 Invalid Username/Password when connecting to 11g database from 9i client but no change my problem
Update: for some reason the changes I am making through the console I am not seeing with the SQL Developer client, I do not understand why this happens, attached evidence, where you can see that the user cesar created through the console is not visible on the server
I'm trying to connect to a Oracle database on a development server with my local Oracle SQL developer (17.4.1.054).
When I try to connect I get the following error: ORA-0107: invalid username/password; logon denied
Using the very same credentials on the sqlplus (after connection via ssh to the server) works perfectly fine.
The credentials are like: ORA/ora.
After thinking about it, I've other connections on same database with credentials like ora123/ora123 and ORA123/ORA123 that are working fine.
Is there any issue with case sensitive passwords in SQL developer?
Is there any way to overcome this issue?
Trying changing database parameter SEC_CASE_SENSITIVE_LOGON to false and they try login.
I think the clue is
after connection via ssh to the server
Sounds to me like the problem is the network connection from your local machine to the database server, and not SQL Developer or SQL*Plus.
You can verify that by installing an instant client with the SQL*Plus package on your local machine.
As the title suggests, I am trying to connect to a remote database via VPN. When I connect using SQL Developer, the connection is fine. However when I try to connect using SQLPlus I get the below error
ERROR:
ORA-12638: Credential retrieval failed
Enter user-name:
I am using the exact same credentials for both (cannot copy the details here as they are a clients and confidential).
Any thoughts as to why SQL Developer acts differently to SQLPlus?
Thanks in advance
K.
Hi everyone i have problem with setting up connection between two oracle instances for replication. I can connect via sqlplus using string like `
SQL> connect root/12345#orcl1
but I can't create query:
CREATE DATABASE LINK remotedb
CONNECT TO root IDENTIFIED BY 12345
USING 'orcl1';
Also I can't set up it with Oracle database control. The error that I get is username or password of remote master isn't correct.
I don't suppose by any chance that the user "root" is a SYSDBA account on remote DB? If so, you cannot do this. Database links are not allowed to connect to SYSDBA accounts. The link will be created but you will get ORA-01017: invalid username/password.
I resolved the problem by enclosing password in double quotes