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.

 채택된 답변

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.

추가 답변 (0개)

카테고리

제품

릴리스

R2007b

태그

아직 태그를 입력하지 않았습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by