Multiseat client can't connect mysql. (1 Viewer)

regeszter

Retired Team Member
  • Premium Supporter
  • October 29, 2005
    5,335
    4,954
    Home Country
    Hungary Hungary
    MediaPortal Version: 1.2.2

    Description
    Server running on 192.168.0.190, but the client try to find it on localhost.
    Check the connection string: Server=localhost;Database=MpTvDb;User ID=root;Password=***;charset=utf8;Connection Timeout=30; ---> MySql.Data.MySqlClient.MySqlException: Unable to connect to any of the specified MySQL hosts. ---> System.Exception: A program „System.Exception” típusú kivételt váltott ki.

    Steps to Reproduce:
    Install MP client.
    Install MP tv server with mysql.
    Start the client: can't connect to tv server.
     

    karniemi

    Portal Pro
    November 11, 2010
    65
    12
    Hi, this issue has been reported for pretty much every version of MP... just search the forum. You might have made the "mistake" to enter localhost on the server side for the DB address -you should have used the 192.168.0.190 also on the server side(because the client blindly copies the address from server, and may then get that "localhost" for itself). If you did not do that mistake -then you have just hit the non-admitted/non-reproducible problem that has been discussed many times before on this forum.
     

    regeszter

    Retired Team Member
  • Premium Supporter
  • October 29, 2005
    5,335
    4,954
    Home Country
    Hungary Hungary
    How can I setup the db IP address?
     

    regeszter

    Retired Team Member
  • Premium Supporter
  • October 29, 2005
    5,335
    4,954
    Home Country
    Hungary Hungary
    I answer my question. I edited the Gentle.config in server side, and the problem is resolved.
     

    Users who are viewing this thread

    Top Bottom