Why do I receive an "The Network Adapter could not establish the connection” error message when connecting to Oracle 11g using JDBC 64-bit drivers in Database Toolbox R2017b?
Mostra commenti meno recenti
I am trying to connect to Oracle Database using the following settings-
conn_string=['jdbc:oracle:thin:@',...
'(DESCRIPTION =(ADDRESS_LIST =(ADDRESS = (PROTOCOL = TCP)',...
'(HOST = nj******n.***.***)(PORT = 1521)))',...
'(CONNECT_DATA =(SERVICE_NAME = PEWS)))'];
setdbprefs('DataReturnFormat','cellarray');
conn = database('','****','***','Vendor','Oracle', 'URL',conn_string);
The connection is unsuccessful and I get the following error message-
'IO Error: The Network Adapter could not establish the connection'
I am able to connect to same Oracle Database from a sample Java application.
But it will always error out while trying to connect from MATLAB.
How to fix this?
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Database Toolbox in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!