Specify custom mysql port

Discussion in 'Installation, configuration support' started by vc1541, July 22, 2014.

  1. vc1541

    vc1541 New Member

    Joined:
    July 22, 2014
    Messages:
    1
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    Germany Germany
    Hi,

    how can I specify a custom (not 3306) mysql server port with tv-server?

    Thanks


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,450
    Likes Received:
    4,666
    Ratings:
    +8,104 / 17
    Home Country:
    New Zealand New Zealand
    Hello and welcome

    You can configure the database connection [after installing] in c:\ProgramData\Team MediaPortal\MediaPortal TV Server\gentle.config.
    gentle.config is a text file that can be opened and edited in any text editor (notepad, wordpad etc.).
    Look for the first line starting "<DefaultProvider name="MySQL" ...". Change the "connectionString" value as required (probably just add "...;Port=1234;").
    You must restart the TV service after changing gentle.config.

    mm
     
  4. Sam Lowry

    Sam Lowry New Member

    Joined:
    February 23, 2017
    Messages:
    2
    Likes Received:
    0
    Gender:
    Male
    Ratings:
    +0 / 0
    Home Country:
    Germany Germany
    This works for TVService and MediaPortal, but SetupTV doesn't notice the new port. How can I fix this?
    Where is the gentle.config resp. connectionString for SetupTV?
     
    Last edited: January 12, 2019
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!