| | 102 | <!-- MySQL driver configuration --> |
| | 103 | <mysql> |
| | 104 | <!-- Database server host and port --> |
| | 105 | <host>localhost</host> |
| | 106 | <port>3306</port> |
| | 107 | |
| | 108 | <!-- Database name --> |
| | 109 | <dbname>jabberd2</dbname> |
| | 110 | |
| | 111 | <!-- Database username and password --> |
| | 112 | <user>jabberd2</user> |
| | 113 | <pass>secret</pass> |
| | 114 | |
| | 115 | <!-- Transacation support. If this is commented out, transactions |
| | 116 | will be disabled. This might make database accesses faster, |
| | 117 | but data may be lost if jabberd crashes. |
| | 118 | |
| | 119 | This will need to be disabled if you are using a MySQL |
| | 120 | earlier than v3.23.xx, as transaction support did not appear |
| | 121 | until this version. --> |
| | 122 | <transactions/> |
| | 123 | </mysql> |
| | 124 | |
| | 125 | <!-- PostgreSQL driver configuration --> |
| | 126 | <pgsql> |
| | 127 | <!-- PostgreSQL connection info. |
| | 128 | For the rest of the options see |
| | 129 | http://www.postgresql.org/docs/8.0/interactive/libpq.html --> |
| | 130 | <conninfo>dbname=jabberd2 user=jabberd2 password=secret</conninfo> |
| | 131 | |
| | 132 | <!-- Alternatively you may set connection settings separately. |
| | 133 | These are used only in absence of 'conninfo' --> |
| | 134 | |
| | 135 | <!-- Database server host and port --> |
| | 136 | <host>localhost</host> |
| | 137 | <port>5432</port> |
| | 138 | |
| | 139 | <!-- Database name --> |
| | 140 | <dbname>jabberd2</dbname> |
| | 141 | |
| | 142 | <!-- Database username and password --> |
| | 143 | <user>jabberd2</user> |
| | 144 | <pass>secret</pass> |
| | 145 | |
| | 146 | <!-- Transacation support. If this is commented out, transactions |
| | 147 | will be disabled. This might make database accesses faster, |
| | 148 | but data may be lost if jabberd crashes. --> |
| | 149 | <transactions/> |
| | 150 | </pgsql> |
| | 151 | |
| | 152 | <!-- Berkeley DB driver configuration --> |
| | 153 | <db> |
| | 154 | <!-- Directory to store database files under --> |
| | 155 | <path>@localstatedir@/jabberd/db</path> |
| | 156 | |
| | 157 | <!-- Synchronize the database to disk after each write. If you |
| | 158 | disable this, database accesses may be faster, but data may |
| | 159 | be lost if jabberd crashes. --> |
| | 160 | <sync/> |
| | 161 | </db> |
| | 162 | |
| | 163 | <!-- Oracle driver configuration --> |
| | 164 | <oracle> |
| | 165 | <!-- Database server host and port. --> |
| | 166 | <host>localhost</host> |
| | 167 | <port>1521</port> |
| | 168 | |
| | 169 | <!-- Database name --> |
| | 170 | <dbname>jabberd2</dbname> |
| | 171 | |
| | 172 | <!-- Database username and password --> |
| | 173 | <user>jabberd2</user> |
| | 174 | <pass>secret</pass> |
| | 175 | </oracle> |
| | 176 | |
| | 177 | <!-- SQLite driver configuration --> |
| | 178 | <sqlite> |
| | 179 | <!-- Database name --> |
| | 180 | <dbname>@localstatedir@/jabberd/db/sqlite.db</dbname> |
| | 181 | |
| | 182 | <!-- Transacation support. If this is commented out, transactions |
| | 183 | will be disabled. This might make database accesses faster, |
| | 184 | but data may be lost if jabberd crashes. --> |
| | 185 | <transactions/> |
| | 186 | |
| | 187 | <!-- SQLite busy-timeout in milliseconds. --> |
| | 188 | <busy-timeout>2000</busy-timeout> |
| | 189 | </sqlite> |
| | 190 | |
| 178 | | |
| 179 | | <!-- MySQL driver configuration --> |
| 180 | | <mysql> |
| 181 | | <!-- Database server host and port --> |
| 182 | | <host>localhost</host> |
| 183 | | <port>3306</port> |
| 184 | | |
| 185 | | <!-- Database name --> |
| 186 | | <dbname>jabberd2</dbname> |
| 187 | | |
| 188 | | <!-- Database username and password --> |
| 189 | | <user>jabberd2</user> |
| 190 | | <pass>secret</pass> |
| 191 | | |
| 192 | | <!-- Transacation support. If this is commented out, transactions |
| 193 | | will be disabled. This might make database accesses faster, |
| 194 | | but data may be lost if jabberd crashes. |
| 195 | | |
| 196 | | This will need to be disabled if you are using a MySQL |
| 197 | | earlier than v3.23.xx, as transaction support did not appear |
| 198 | | until this version. --> |
| 199 | | <transactions/> |
| 200 | | </mysql> |
| 201 | | |
| 202 | | <!-- PostgreSQL driver configuration --> |
| 203 | | <pgsql> |
| 204 | | <!-- PostgreSQL connection info. |
| 205 | | For the rest of the options see |
| 206 | | http://www.postgresql.org/docs/8.0/interactive/libpq.html --> |
| 207 | | <conninfo>dbname=jabberd2 user=jabberd2 password=secret</conninfo> |
| 208 | | |
| 209 | | <!-- Alternatively you may set connection settings separately. |
| 210 | | These are used only in absence of 'conninfo' --> |
| 211 | | |
| 212 | | <!-- Database server host and port --> |
| 213 | | <host>localhost</host> |
| 214 | | <port>5432</port> |
| 215 | | |
| 216 | | <!-- Database name --> |
| 217 | | <dbname>jabberd2</dbname> |
| 218 | | |
| 219 | | <!-- Database username and password --> |
| 220 | | <user>jabberd2</user> |
| 221 | | <pass>secret</pass> |
| 222 | | |
| 223 | | <!-- Transacation support. If this is commented out, transactions |
| 224 | | will be disabled. This might make database accesses faster, |
| 225 | | but data may be lost if jabberd crashes. --> |
| 226 | | <transactions/> |
| 227 | | </pgsql> |
| 228 | | |
| 229 | | <!-- Berkeley DB driver configuration --> |
| 230 | | <db> |
| 231 | | <!-- Directory to store database files under --> |
| 232 | | <path>@localstatedir@/jabberd/db</path> |
| 233 | | |
| 234 | | <!-- Synchronize the database to disk after each write. If you |
| 235 | | disable this, database accesses may be faster, but data may |
| 236 | | be lost if jabberd crashes. --> |
| 237 | | <sync/> |
| 238 | | </db> |
| 239 | | |
| 240 | | <!-- Oracle driver configuration --> |
| 241 | | <oracle> |
| 242 | | <!-- Database server host and port. --> |
| 243 | | <host>localhost</host> |
| 244 | | <port>1521</port> |
| 245 | | |
| 246 | | <!-- Database name --> |
| 247 | | <dbname>jabberd2</dbname> |
| 248 | | |
| 249 | | <!-- Database username and password --> |
| 250 | | <user>jabberd2</user> |
| 251 | | <pass>secret</pass> |
| 252 | | </oracle> |
| 253 | | |
| 254 | | <!-- SQLite driver configuration --> |
| 255 | | <sqlite> |
| 256 | | <!-- Database name --> |
| 257 | | <dbname>@localstatedir@/jabberd/db/sqlite.db</dbname> |
| 258 | | |
| 259 | | <!-- Transacation support. If this is commented out, transactions |
| 260 | | will be disabled. This might make database accesses faster, |
| 261 | | but data may be lost if jabberd crashes. --> |
| 262 | | <transactions/> |
| 263 | | |
| 264 | | <!-- SQLite busy-timeout in milliseconds. --> |
| 265 | | <busy-timeout>2000</busy-timeout> |
| 266 | | </sqlite> |