Connecting to Oracle express
Mostrar comentarios más antiguos
I am having troubles connecting to oracle express db. When i am trying to connect to the database i get the following error:
>> conn = database('test_db','','zxcv','Vendor','Oracle',...
'DriverType','oci','Server','remotehost','PortNumber',
1234)
Error using database (line 309)
Java exception occurred:
java.lang.UnsatisfiedLinkError: no ocijdbc11 in
java.library.path
10 comentarios
Rodrigo
el 11 de Jul. de 2014
Paul try this:
conn = database('XE','SYSTEM','password','oracle.jdbc.driver.OracleDriver',jdbc:oracle:thin:@LOCALHOST:1521:XE');
password is the password when you install Oracle XE
RML!
Rodrigo
el 11 de Jul. de 2014
I think that is a sintaxis error...
conn = database('XE','SYSTEM','password','oracle.jdbc.driver.OracleDriver',jdbc:oracle:thin:@localhost:1521:XE);
note now without de ' character at the end of XE
Paul
el 11 de Jul. de 2014
Paul
el 11 de Jul. de 2014
Rodrigo
el 11 de Jul. de 2014
yes,
Creates an example table with sql developer populate and query it from Matlab.
Paul
el 11 de Jul. de 2014
Paul
el 11 de Jul. de 2014
Respuesta aceptada
Más respuestas (4)
Sruthi Ayloo
el 9 de Jul. de 2014
0 votos
The Oracle DLL that the Database drivers need could not be detected in MATLAB. Add the location of the Oracle DLLs path to the following file and restart MATLAB.
$MATLAB/toolbox/local/javalibrarypath.txt.
For more information, refer to Step 3 in http://www.mathworks.com/help/database/ug/oracle-jdbc-windows.html
Paul
el 9 de Jul. de 2014
0 votos
Paul
el 10 de Jul. de 2014
Paul
el 11 de Jul. de 2014
0 votos
Categorías
Más información sobre Database Toolbox en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
