Solved Unable to connect to MythTV 0.26 with cmyth PVR Client - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: PVR & Live TV Support (https://forum.kodi.tv/forumdisplay.php?fid=167) +---- Forum: MythTV (https://forum.kodi.tv/forumdisplay.php?fid=170) +---- Thread: Solved Unable to connect to MythTV 0.26 with cmyth PVR Client (/showthread.php?tid=146199) |
Unable to connect to MythTV 0.26 with cmyth PVR Client - stratoscape - 2012-11-25 Seems to be a popular request, I even read all of the other threads requesting it but unlike the other threads I simply cannot figure out how get this thing working. I configured the addon to my MythTV server IP and port number, enabled it, enabled the liveTV setting in my xbmcbuntu settings but all I get is this error in XBMC when I enable the LiveTV settings XBMC window: Code: MythTV cmyth Client XBMC Logs: Code: 17:45:07 T:140668089394944 NOTICE: Thread Jobworker start, auto delete: true from MythTV Logs: Code: Nov 24 17:45:27 strato-virtual-machine mythlogserver: mythbackend[1332]: W ProcessRequest mainserver.cpp:5841 (connectionClosed) MainServer: Unknown socket closing MythSocket(0xf3c8c0) MythTV Version info: Code: mythbackend --version My MythTV setup was running fine, I read that it was recommended to upgrade to .26 so I did but didn't help as I am still missing something, about the permissions error in the XBMC cmyth client, I dont get it.. I can connect to myth using default credentials just fine from other systems just the one that matters is giving me the most fits :-\ Thanks in advance, I see a bunch of other similar threads about connectivity issue to mythv but seems like they all had something turned off or something, but I have no idea where else to look. strato RE: Unable to connect to MythTV 0.26 with cmyth PVR Client - twojciac - 2012-11-25 Have you tried manually logging in using the username and password with mysql? Also, are you certain you're using the proper case with the password? Mytbuntu generates some terrible passwords at times, if you are using that... like using an I,l,and 1 in the same password. I manually changed the password on mine to something easier to type. RE: Unable to connect to MythTV 0.26 with cmyth PVR Client - stratoscape - 2012-11-25 Don't know if this will help anyone but I solved this myself, posting results so hopefully someone else may not have to troll twelve hours for it My problem was with my interpretation or the configuration info for the cmyth PVR Client add-on. When reading the setup information, the example listed "mythtv" for both MythTV Database Username as well as the MythTV Database Password. the example does state that if you have changed this then you will need to make the necessary change in "your" setup however I never made such a change and assumed this was the preset username/password Quote:MythTV Database Username After trolling google all day I stumbled across a mysql thread where a user made reference to mysql.txt and it is here where I found Code: DBHostName=localhost ...ugh! it all came back to me, from wayyy back in the old original xbox xbmc days when I had this same exact problem then. Anyway, I used the DBPassword in my cmyth add-on database setting and everything connected right up. I have no idea if this is what happen with all the other threads in this section with connection issues as no one [solved] any of their post. Note: I was getting weird port errors in xbmc client when connecting to my mythtv backend version 0.25 so reading version 0.26 was suggested I upgraded and that's when the errors in xbmc client changed to "denials" so if you may consider updating your myth backend to version 0.26 as well (just saying, it worked for me) good luck, strato RE: Unable to connect to MythTV 0.26 with cmyth PVR Client - sirkingchase - 2012-11-26 I was having the exact same problems. I looked at your post and saw mysql.txt and then I remembered that MythTV is stubborn about DBHostName being the exact same across all settings. Try using "localhost" as the host in settings. The default 127.0.0.1 and my local ip address 192.168.1.101, did not work. RE: Unable to connect to MythTV 0.26 with cmyth PVR Client - stratoscape - 2012-11-26 IP has to match in XBMC cmyth add-on and MythTV backend Code: Backend setup -> General-> IP Address -> xxx.xxx.xxx.xxx This should be set to your devices actual IP and not 'localhost' or '127.0.0.1' I believe you said yours is 192.168.1.101 so I would try providing that on both mythtv backend as well as the xbmc cmyth add-on client settings good luck strato RE: Unable to connect to MythTV 0.26 with cmyth PVR Client - RichMR2 - 2013-02-02 Nothing is fixing this issue for me. I currently have the settings in XBMC correct, with the correct DB password (verified by logging in to MySQL through putty with the password). XBMC has the host set to 192.168.0.111 which is the IP of the Mythbuntu box running Mythbuntu 12.04.1 The MythTV backend in Mythbuntu is set up with the backend IP as 192.168.0.111 also. As far as I can tell all settings are correct in both XBMC and Mythbuntu but I still receive the "Failed to connect to MythTV MySQL database [email protected] mythtv/password Do I need to grant any access to other IPs as MythTV is not on the same machine as XBMC? Mythbuntu is 192.168.0.111 where as XBMC seats are 192.168.0.100 to 192.168.0.103. This issue happens on all XBMC seats tested (windows installs) I have no desire to become frustrated with the fourth (raspbmc). Any help would be appreciated. Edit: Reinstalling Mythbuntu for the third time allowed connection by XBMC RE: Unable to connect to MythTV 0.26 with cmyth PVR Client - sirkingchase - 2013-02-05 (2013-02-02, 19:52)RichMR2 Wrote: Nothing is fixing this issue for me. You have to enable mysql connections from outside local host. I have different xbmc machines android, Windows, and mac. In order to access live TV from those devices I had to enable mysql to allow connections other than from local host. RE: Unable to connect to MythTV 0.26 with cmyth PVR Client - User 57826 - 2013-02-06 (2013-02-05, 17:54)sirkingchase Wrote: You have to enable mysql connections from outside local host. I have different xbmc machines android, Windows, and mac. In order to access live TV from those devices I had to enable mysql to allow connections other than from local host. There are actually 2 parts to enable outside connections to MythTV. First, sirkingchase is correct. In the mythbuntu control center (sudo apt-get install mythbuntu-control-centre) under the MySQL section you can enable outside connections. Second, on the Mythbackend General settings make sure you use the IP of the master backend not the loopback or localhost addresses. RE: Unable to connect to MythTV 0.26 with cmyth PVR Client - sirkingchase - 2013-06-22 (2013-02-06, 00:47)djroketboy Wrote: There are actually 2 parts to enable outside connections to MythTV. Thanks for posting that, I had roll back my system to a previous state where I was having this issue again. The top address must be the real static ip address of your master backend. I could not figure this out, until I remembered that I posted about the issue here. |