How do I specify the Database URL String in the DATABASE function of Database Toolbox 3.4(R2007b) to connect to a POSTGRESQL database?

I am trying to connect to POSTGRESQL database. I am not able to find the JDBC Driver and URL string to use them in DATABASE command to connect to my database. I would like some help on this issue.

 Respuesta aceptada

For a PostGreSQL database the driver and the URL specifications are as follows:
JDBC driver: org.postgresql.DriverDatabase
URL: jdbc:postgresql://masd/DatabaseName
Please note that the Database URL string needs to have the Database name "DatabaseName" appended at the end of it.

Más respuestas (0)

Productos

Versión

R2007b

Etiquetas

Aún no se han introducido etiquetas.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by