Add support for specifying DB port

In case someone needs to connect to a DB engine in non-standard port,
defining the TCP port is required. This is a rare corner case which
should only arise when a given DB host runs multiple versions of the
same DB engine.

However, the support is relatively straightforward to implement and it
shouldn't conflict with any other options.
This commit is contained in:
Mika Bostrom
2011-01-16 10:43:36 +02:00
parent 02a087c5b0
commit 8d78e11a4f
3 changed files with 29 additions and 9 deletions
+6
View File
@@ -796,6 +796,12 @@ Left-Drag to Move"
<raw_tourneys save="none" compression="none"/>
<supported_databases>
<!-- If you have multiple versions of database engine, or you
have the database listening on non-standard port, you can
add the option: db_port="PORTNUMBER"
NOTE: This only applies to users of MySQL and PostgreSQL,
sqlite users can happily ignore.
-->
<!-- <database db_name="fpdb" db_server="mysql" db_ip="localhost" db_user="fpdb" db_pass="YOUR MYSQL PASSWORD"></database> -->
<database db_ip="localhost" db_server="sqlite" db_name="fpdb.db3" db_user="fpdb" db_pass="fpdb"/>
</supported_databases>