Specify custom mysql port (1 Viewer)

vc1541

New Member
July 22, 2014
1
0
46
Home Country
Germany Germany
Hi,

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

Thanks
 

mm1352000

Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,515
    8,256
    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
     

    Sam Lowry

    New Member
    February 23, 2017
    2
    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:

    Users who are viewing this thread

    Similar threads

    I meant use MP client to try to spot how it's requesting streams for specific channels and then try to do the same with VLC. TV Server development looks dead so I'm afraid you're going to have to figure that out by yourself if it's even possible.
    I meant use MP client to try to spot how it's requesting streams for specific channels and then try to do the same with VLC. TV...
    Hi everyone, I've set up Mediaportal TV Server on a Windows 11 box, tuner deteced okay, scanned channels, can preview, all seems...
    Replies
    8
    Views
    3K
    Works like a charm with both MySQL and Maria database. Thank you very much!
    Works like a charm with both MySQL and Maria database. Thank you very much!
    After a clean MP and MySQL uninstallation and deleting all MP and MySQL program and data folders the new MP 1.38 installation fails...
    Replies
    2
    Views
    1K
    It helped me too. Thanks
    It helped me too. Thanks
    After updating to MP1.37 (x86), I get a MySQL error when I access the TVServer configuration. The error message and log are attached.
    Replies
    6
    Views
    2K
    • Sticky
    Many many years ago, I opened a bug report after I got that same message but I never got a reply. The reason was I had unchecked the Windows Media Player item in Windows 10 Control Panel > Program and Features > Turn Windows features on or off as I didn't need it, without thinking that it was needed by MediaPortal. I kept the "Media...
    Many many years ago, I opened a bug report after I got that same message but I never got a reply. The reason was I had unchecked...
    We have just released MediaPortal 1.39 - Endurance x86 and x64 version. Highlights of this release Bugfixes: [MP1-5257] - Skin...
    Replies
    13
    Views
    1K
    I have added a scheduled task to MariaDB to delete all entries with the same start and end date
    I have added a scheduled task to MariaDB to delete all entries with the same start and end date
    Hello, I'm encountering an issue after importing EPG data into the TV-Server/Database. The Problem: After importing an XMLTV...
    Replies
    7
    Views
    3K
    Top Bottom