Multiseat client can't connect mysql.

Discussion in '1.2.x' started by regeszter, April 15, 2012.

  1. regeszter
    • Premium Supporter

    regeszter Retired Team Member

    Joined:
    October 29, 2005
    Messages:
    5,335
    Likes Received:
    2,863
    Ratings:
    +5,152 / 18
    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.


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. karniemi

    karniemi Portal Pro

    Joined:
    November 11, 2010
    Messages:
    65
    Likes Received:
    6
    Ratings:
    +8 / 0
    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.
     
    • Like Like x 1
  4. regeszter
    • Premium Supporter

    regeszter Retired Team Member

    Joined:
    October 29, 2005
    Messages:
    5,335
    Likes Received:
    2,863
    Ratings:
    +5,152 / 18
    Home Country:
    Hungary Hungary
    How can I setup the db IP address?
     
  5. regeszter
    • Premium Supporter

    regeszter Retired Team Member

    Joined:
    October 29, 2005
    Messages:
    5,335
    Likes Received:
    2,863
    Ratings:
    +5,152 / 18
    Home Country:
    Hungary Hungary
    I answer my question. I edited the Gentle.config in server side, and the problem is resolved.
     
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!