Configure Media Server

To configure Media Server to use an external database

  1. Stop Media Server, if it is running.
  2. Open the Media Server configuration file (mediaserver.cfg) with a text editor.
  3. Find the [Database] section of the configuration file. Create this section if it does not exist.

  4. Set the following parameters:

    DatabaseType

    The type of database to use, either mysql or postgres.

    ODBCConnectionString

    The ODBC Connection string to use to connect to the database. For example:

    DSN=MyDatabase;

    Driver = {PostgreSQL UNICODE}; Server = IPAddress; Port = port; Database = myDatabase; Uid = myUsername; Pwd = myPassword;

    Driver = {MySQL ODBC 5.x UNICODE Driver}; Server = IPAddress; Database = myDatabase; User = myUsername; Password = myPassword; Option = 3;

    For example:

    [Database]
    DatabaseType=postgres
    ODBCConnectionString=DSN=MyDatabase;
  5. 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
  6. Save and close the configuration file.
  7. Start Media Server.

_FT_HTML5_bannerTitle.htm