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.

 Risposta accettata

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.

Più risposte (0)

Prodotti

Release

R2007b

Tag

Non è stata ancora inserito alcun tag.

Community Treasure Hunt

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

Start Hunting!

Translated by