LinHES Forums
http://forums.linhes.org/

Help changing mysql settings in Mac
http://forums.linhes.org/viewtopic.php?f=5&t=12306
Page 1 of 1

Author:  arriflex [ Mon Oct 23, 2006 10:43 pm ]
Post subject:  Help changing mysql settings in Mac

I know this is out of context, but I couldn't find any info anywhere else and there are some very experienced souls around these parts! I've changed my backend server ip since upgrading to R5D1. However, one of my frontends, a Mac is still trying to connect to the old one. It's trying hard enough not to let me into the gui where I know how to change it. A look in the activity monitor shows this...
Code:
/Applications
/Applications/MythFrontend.app/Contents/MacOS/mythfrontend
/Applications/MythFrontend.app/Contents/Frameworks/dvdnav.framework/Versions/A/dvdnav
/Applications/MythFrontend.app/Contents/Frameworks/mythavcodec.framework/Versions/A/mythavcodec
/Applications/MythFrontend.app/Contents/Frameworks/freetype.framework/Versions/A/freetype
/Applications/MythFrontend.app/Contents/Frameworks/mp3lame.framework/Versions/A/mp3lame
/Applications/MythFrontend.app/Contents/Frameworks/mysqlclient.framework/Versions/A/mysqlclient
/System/Library/CoreServices/CharacterSets/CFUnicodeData-B.mapping
/System/Library/CoreServices/CharacterSets/CFCharacterSetBitmaps.bitmap
/Library/Caches/com.apple.IntlDataCache.sbdl.501
/usr/lib/dyld
/usr/lib/libSystem.B.dylib
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
/usr/lib/libobjc.A.dylib
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
/System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime
/usr/lib/libstdc++.6.0.4.dylib
/Applications/MythFrontend.app/Contents/Frameworks/qt-mt.framework/Versions/A/qt-mt
/Applications/MythFrontend.app/Contents/Frameworks/mythavutil.framework/Versions/A/mythavutil
/Applications/MythFrontend.app/Contents/Frameworks/mythavformat.framework/Versions/A/mythavformat
/Applications/MythFrontend.app/Contents/Frameworks/myth.framework/Versions/A/myth
/Applications/MythFrontend.app/Contents/Frameworks/mythtv.framework/Versions/A/mythtv
/dev/null
/dev/console
/dev/console
obj=0x05e1b998
*:*
obj=0x05e1b998
192.168.0.2:61715->192.168.0.20:mysql

192.168.0.2 being my Mac, 192.168.0.20 being the old address for my backend.
Can anyone describe how to find a config file or preference file or something that is telling the frontend to try the old address so I can change it? I deleted the only prefs I could find, as well as the application package before running the .19 build from Sniderpad. There must be a mysql pointer or something that I'm missing?
TIA

Author:  nigelpearson [ Tue Oct 24, 2006 4:48 am ]
Post subject: 

Two ways to fix this:

1) Let MythFrontend.app finish trying to connect to your old backend address. After a few minutes, it will time out, and come up with the database setup dialog. (I usually open Console.app so I can see that something is actually happening).

2) Edit the database config file in a text editor. Type this in a Terminal window:
Code:
/Applications/TextEdit.app/Contents/MacOS/TextEdit ~/.mythtv/mysql.txt
and change the DBHostName line

Author:  arriflex [ Mon Nov 06, 2006 11:02 pm ]
Post subject: 

Right On! thanks, G'd on ya! The first method didn't work for me, but the second, editing the config file, was easy to do and effective.

arriflex

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/