I have an Oracle database that is located on server_c and are only accessible if you are on server_b. So in order to connect to this Oracle database, I have to first log in to server_b via SSH, and type in the following command to connect to it.
sqlplus username/password@server_c:1571/service
I would like to connect to the Oracle database in DataGrip, first I typed in my username and password in the SSH/SSL
tab.
Then I typed in the general database information.
I thought it would be fine, but when I clicked on the Test Connection
, I got an error.
Error: Connection to Oracle - @server_c failed. ORA-00604: error occurred at recursive SQL level 1 ORA-20001: Server is not in the List of Valid Application Servers ORA-06512: at line 28
This error occurs if I try to connect to the database directly without logging in to server_b beforehand. In other words, I think DataGrip doesn't connect to the SSH tunnel first before connecting the database.
I'm not sure if I'm using SSH/SSL
tab correctly in this way. So if you have any idea why it doesn't work or any solution to it, please let me know.
The clue is in the error message:
Error: Connection to Oracle - @server_c failed. ORA-00604: error occurred at recursive SQL level 1 ORA-20001: Server is not in the List of Valid Application Servers ORA-06512: at line 28
Check with your DBA either of:
sqlnet.ora
valid node checking tcp.validnode_checking
= ... or more likely:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.