Multiseat client can't connect mysql.

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

  1. regeszter Portal Pro

    System Specs
    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.

    Attached Files:

  2. karniemi Portal Member

    System Specs
    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
  3. regeszter Thread Starter Portal Pro

    System Specs
    How can I setup the db IP address?
  4. regeszter Thread Starter Portal Pro

    System Specs
    I answer my question. I edited the Gentle.config in server side, and the problem is resolved.

Share This Page

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

Running the latest version?

V1.3.0 FINAL - released March 2013
Releasenews | Download
Changelog
 | Requirements
HTPC
Team-MediaPortal
 
About
Contact |  Press
Partners