Open topic with navigation

# Configure HPE Media Server

To configure HPE Media Server to use an external database

1. Stop HPE Media Server, if it is running.
2. Open the HPE 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 HPE 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 HPE Media Server.

© 2017 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm