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:


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


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


    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:

  5. If you are running Media Server on Linux, set the following parameter:

    ODBCDriverManager The unixODBC Driver Manager shared object file.

    For example:
  6. Save and close the configuration file.
  7. Start Media Server.