diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/tmwserv.xml | 51 |
1 files changed, 45 insertions, 6 deletions
diff --git a/docs/tmwserv.xml b/docs/tmwserv.xml index a16b063c..1f20d326 100644 --- a/docs/tmwserv.xml +++ b/docs/tmwserv.xml @@ -1,12 +1,51 @@ <?xml version="1.0"?> <!-- An example configuration file for ~/.tmwserv.xml --> <configuration> - <!-- - Database configuration (unused by sqlite3). - --> - <option name="dbhost" value=""/> - <option name="dbpass" value=""/> - <option name="dbuser" value=""/> + +<!-- Database configuration *************************************************** + Uncomment one of the following parts according to the database backend you + would like to use. +--> + +<!-- + SQLite specific configuration. + + sqlite_database: name and path to the sqlite database file + optional, default="tmw.db" +--> +<!-- <option name="sqlite_database" value="tmw.db"/> --> + + +<!-- + mySQL specific configuration. + + mysql_hostname: ip or hostname of the database server + optional, default="localhost" + mysql_port: the port where the mysql server listens to + optional, default=3306 + mysql_database: name of the installed database + optional, default="tmw" + mysql_username: name of the user to connect to the database server + optional, default="tmw" + mysql_password: password to use whith the mysql_username + optional, default="tmw" +--> +<!-- +<option name="mysql_hostname" value="localhost"/> +<option name="mysql_port" value="3306"/> +<option name="mysql_database" value="tmw"/> +<option name="mysql_username" value="tmw"/> +<option name="mysql_password" value="tmw"/> +--> + + +<!-- + PostgreSQL specific configuration. + + TODO! +--> + +<!-- end of database configuration *************************************** --> <!-- New player starting location. The map should be defined in data/maps.xml. |