Changes for page PostgreSQL Installation

Last modified by Vincent Massol on 2024/03/15

<
From version < 1.22 >
edited by Vincent Massol
on 2007/10/09
To version < 1.24 >
edited by Vincent Massol
on 2008/01/08
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -42,7 +42,7 @@
42 42  * Tell XWiki to use PostgreSQL. To do this, edit the ~~WEB-INF/hibernate.cfg.xml~~ file where you have expanded the XWiki WAR file. Replace the matching properties with the following ones (modify the hostname and password accordingly):
43 43  
44 44  {code}
45 -<property name="connection.url">jdbc:postgresql://localhost/xwiki</property>
45 +<property name="connection.url">jdbc:postgresql://localhost:5432/xwiki</property>
46 46  <property name="connection.username">xwiki</property>
47 47  <property name="connection.password">your password</property>
48 48  <property name="connection.driver_class">org.postgresql.Driver</property>
... ... @@ -52,8 +52,6 @@
52 52  <mapping resource="feeds.hbm.xml"/>
53 53  {code}
54 54  
55 -#info("The default installation of Postgres on Windows and Unix uses port 5432. On the connection.url above please change localhost to localhost:5432.")
56 56  
57 57  
58 58  
59 -

Get Connected