This is a log of my experiences installing MythTV on OSX Yosemite. I started by following the documentation at mythtv.org:
http://www.mythtv.org/wiki/MythTV_on_Mac_OS_X
You’ll need to download the installer:
http://sourceforge.net/projects/macportsmythtvinstaller/
Installing MySQL
And the prerequisite MySQL database:
http://dev.mysql.com/downloads/mysql/5.1.html#macosx-dmg
Fixing MySQL autostart on Yosemite
The MySQL installer fails on setting up the automatic startup scripts, so you have to make manual modifications to your system following these instructions:
http://coolestguidesontheplanet.com/get-apache-mysql-php-phpmyadmin-working-osx-10-10-yosemite/
There was a solution recently posted on how to autostart MySQL on reboot on Yosemite, if you follow this it will work:
sudo nano /Library/LaunchDaemons/com.mysql.mysql.plist
And paste in:
<!--?xml version="1.0" encoding="UTF-8"?--> <plist version="1.0"> <dict> <key>KeepAlive</key> <true /> <key>Label</key> <string>com.mysql.mysqld</string> <key>ProgramArguments</key> <array> <string>/usr/local/mysql/bin/mysqld_safe</string> <string>--user=mysql</string> </array> </dict> </plist>
Save it and then:
sudo chown root:wheel /Library/LaunchDaemons/com.mysql.mysql.plist sudo chmod 644 /Library/LaunchDaemons/com.mysql.mysql.plist sudo launchctl load -w /Library/LaunchDaemons/com.mysql.mysql.plist
Then it will load on a restart.
A reboot later and we’re confirmed MySQL is installed and automatically starting.
Fixing time zones
After starting the myth-setup script I received the following popup:
It was most unhelpful 🙂 I selected all the text and pasted into a text editor. It turns out the log was much longer, and at the end of the popup message was a key entry “MySQL time zone support is missing. Please install it and try again. See ‘mysql_tzinfo_to_sql’ for assistance.” If you search for that string, you’ll find the following link which helps correct the issue:
http://www.mythtv.org/wiki/MySQL_Time_Zone_Tables
hfgjg
HDHR
http://www.mythtv.org/wiki/Backend_Mac_OS_X_USA_HDHR_Setup