LinHES Forums http://forum.linhes.org/ |
|
Where does mythtv-setup look for Mysql info? *UPDATE* http://forum.linhes.org/viewtopic.php?f=6&t=14282 |
Page 1 of 1 |
Author: | skypilot [ Mon Feb 19, 2007 3:18 pm ] |
Post subject: | Where does mythtv-setup look for Mysql info? *UPDATE* |
I've changed the IP on my knoppmyth server box to a static IP from a dynamic IP. Now mythtv-setup, mythbackend, and mythfilldatabase (and I'm sure others) seem to be looking at the old IP for a mysql server. This is causing big problems. I thought I'd be able to fix it in mythtv-setup, but that program will not start correctly, as it is still looking at the old address for the mysql data it needs. *UPDATE* This seems to only be a problem when I am logged into the box as root. The user 'mythtv' seems to have the settings correct. I looked for /home/root/.mythtv/mysql.txt, but /home/root does not exist. Where would this information be for root? |
Author: | cecil [ Mon Feb 19, 2007 3:56 pm ] |
Post subject: | |
Hint, hint. Sounds like mysql may not be running for whatever reason... |
Author: | skypilot [ Mon Feb 19, 2007 4:32 pm ] |
Post subject: | |
Mysql is running, but when mythtv-setup and the other programs are looking for it at the old IP address, they don't know that. |
Author: | Dak48 [ Mon Feb 19, 2007 4:40 pm ] |
Post subject: | |
Try looking in /home/mythtv/.mythtv/mysql.txt |
Author: | skypilot [ Mon Feb 19, 2007 4:43 pm ] |
Post subject: | |
[quote="Dak48"]Try looking in /home/mythtv/.mythtv/mysql.txt[/quote] No go. |
Author: | cecil [ Mon Feb 19, 2007 4:56 pm ] |
Post subject: | |
I changed my IP for SCALE last weekend and all I had to do was change the IP under General in mythtv-setup and restart the backend. From my experience, if something won't communicate w/ MySQL it is because MySQL isn't running. You may also want to check /usr/share/mythtv/mysql.txt. |
Author: | skypilot [ Mon Feb 19, 2007 5:11 pm ] |
Post subject: | |
Checked all of that, no go. I repeat, this only happens when logged in as root. |
Author: | cecil [ Mon Feb 19, 2007 6:01 pm ] |
Post subject: | |
Then, why are you running as root?! It is never a good idea to run something as root that doesn't need to run as root. |
Author: | evdogg [ Wed Feb 21, 2007 10:12 pm ] |
Post subject: | Re: Where does mythtv-setup look for Mysql info? *UPDATE* |
skypilot wrote: This seems to only be a problem when I am logged into the box as root. The user 'mythtv' seems to have the settings correct. I looked for /home/root/.mythtv/mysql.txt, but /home/root does not exist. Where would this information be for root?
/root/.mythtv/mysql.txt |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |