To configure Media Server to use an external database
mediaserver.cfg
) with a text editor. Find the [Database]
section of the configuration file. Create this section if it does not exist.
Set the following parameters:
DatabaseType
|
The type of database to use, either |
ODBCConnectionString
|
The ODBC Connection string to use to connect to the database. For example: DSN=MyDatabase;
|
For example:
[Database] DatabaseType=postgres ODBCConnectionString=DSN=MyDatabase;
If you are running Media Server on Linux, set the following parameter:
ODBCDriverManager
|
The unixODBC Driver Manager shared object file. |
For example:
ODBCDriverManager=libodbc.so
|