Specify custom mysql port (1 Viewer)

vc1541

New Member
July 22, 2014
1
0
45
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,578
    8,228
    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


    Write your reply...

    Similar threads

    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
    612
    Hi, I didn't have SQL problems but just wanted to agree that on my Win7 system, a clean install of 1.36 TV server x86 does not work since it won't start the TV server configuration. Installing 1.33 first and upgrading to1.36 fixed the problem. Eggert
    Hi, I didn't have SQL problems but just wanted to agree that on my Win7 system, a clean install of 1.36 TV server x86 does not...
    Hi, went from a 1.29 install (working, reinstalled for other reasons) on a fairly fresh and fully updated Windows 10 system for a...
    Replies
    26
    Views
    5K
    MP1 MP2 Windscribe VPN DE
    I have just installed Windscribe but it is blocking access to my TV Server. I get the following message "Please specify the IP address or Host Name of the Master TV Service". I have a single seat build running the latest X64 version of MP1. Can anyone point me to a solution please? It's probably a really obvious one..... Cheers Fangio
    I have just installed Windscribe but it is blocking access to my TV Server. I get the following message "Please specify the IP...
    I have just installed Windscribe but it is blocking access to my TV Server. I get the following message "Please specify the IP...
    Replies
    0
    Views
    548
    Hi, my answers to your questions: I use MariaDB 10.5 and Mediaportal 1.33 x86 as a user, not an administrator. MP. When I start Mediaportal, no TV service appears to have started. If I start Mediaportal as administrator everything is ok. Starting the TV service separately is only possible as an administrator. If I then start...
    Hi, my answers to your questions: I use MariaDB 10.5 and Mediaportal 1.33 x86 as a user, not an administrator. MP. When I start...
    I updated to 1.33 today and I thought everything went smoothly except on restarting MediaPortal requests me to specify the IP...
    Replies
    14
    Views
    3K
    Ok, so perhaps a solution, but not the "right" solution. On the client, within media portal configuration, under TV settings, advanced options, I switched to UNC paths instead of the default RSS, and it's working very well. Sure I had to figure out the paths, but no big deal. Maybe helpful for someone in the future. Thanks for the...
    Ok, so perhaps a solution, but not the "right" solution. On the client, within media portal configuration, under TV settings...
    Hi folks. I have an issue with a new install/integration into my mediaportal system. I have a “mediaportal server” which has the TV...
    Replies
    5
    Views
    1K
    Top Bottom