Hallo Jan, > > ich experimentiere mit Postgressql und Openoffice und versuche jetzt > diese beiden miteinander zu verbinden. Derzeit ist es mir nur möglich > die Datenbank über ODBC zu erreichen, obwohl auch die JDBC Treiber für > Postgres installiert sind. > Es scheitert leider schon beim ersten Dialog zum herstellen der > Verbindung. Was soll ich hier in die URL eingeben und warum kann > Openoffice die Klasse postgresql-8.4-701.jdbc4.jar nicht öffnen, wenn > ich auf "Klasse testen" klicke? > > Mein System: > WinXP prof. > OOo 3.2.1 > Postgres 8.4 > Server: localhost Port 13001 > User: postgres
Der Port scheint mir untypisch zu sein: http://jdbc.postgresql.org/doc.html The JDBC URL In JDBC all url's begin with jdbc:protocol: This is the standard. After this is driver specific, and no two drivers are the same. So our url? It's one of the following: jdbc:postgresql:database jdbc:postgresql://host/database jdbc:postgresql://host:port/database where database is the database to connect to, host the server to connect to, and port the port number. If left out, host defaults to localhost (not 127.0.0.1 see applets!) and port to 5432 (configurable at build time). Also erst einmal anderen Zugang testen. Gruß Robert --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@de.openoffice.org For additional commands, e-mail: users-h...@de.openoffice.org