XBMCMythTV and MySQL

Just got the xbmcmythtv python script (sort of) working on my modded xboxes. However, I couldn’t get it to connect to my master MythTV server. After a lot of gnashing of teeth and internet searching, there are basically three steps to get this working:

  1. Make sure your MythTV master backend is set up for having remote hosts connecting to it. This is primarily done by giving the backend its actual IP address, rather than localhost/127.0.0.1.
  2. Make sure your MySQL server is set to receive remote connections as well. Doing this changes with different versions, but in my case, it was a matter of commenting out the bind_address line in my /etc/mysql/my.cnf.
  3. Depending on the version, make sure that the username and passwords are using the OLD_PASSWORD command in MySQL:

    mysql -u root
    login as: james
    update user set password=old_password('mythtv') where host = '192.168.whatever.yours.is';

Now you should be able to connect.

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s