Gentoo Archives: gentoo-user

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] OT - mysql (WAS: [Re: OT - Need help with mythfronted GUI])
Date: Sun, 08 Jan 2006 20:52:18
Message-Id: 5bdc1c8b0601081246p6735ba5er2a351c1c9ab283c4@mail.gmail.com
In Reply to: [gentoo-user] OT - mysql (WAS: [Re: OT - Need help with mythfronted GUI]) by Michael Sullivan
1 On 1/8/06, Michael Sullivan <michael@××××××××××××.com> wrote:
2 > On Sun, 2006-01-08 at 13:41 -0600, Michael Sullivan wrote:
3 > > On Sun, 2006-01-08 at 13:36 -0600, Michael Sullivan wrote:
4 > > > On Sun, 2006-01-08 at 11:22 -0800, Mark Knecht wrote:
5 > > > > On 1/8/06, Michael Sullivan <michael@××××××××××××.com> wrote:
6 > > > >
7 > > > > > I'm not going to mark my mythtv problem SOLVED until I'm sure that
8 > > > > > mythbackend is running stably.
9 > > > >
10 > > > > Nor should you...
11 > > > >
12 > > > > > It seems to be working for now. The
13 > > > > > problem is that I can't change channels in mythfrontend. I'm watching
14 > > > > > live TV and I'm hitting the Up arrow key (as specified on mythtv's web
15 > > > > > site, but the channel is not changing. What's worse is that it seems
16 > > > > > all that's on the one channel I get is infomercials! How can I fix
17 > > > > > this??? I ran mythsetup and and went to the Channel Editor. There were
18 > > > > > no channels defined. I wanted the click the Scan For Channels button,
19 > > > > > but I couldn't figure out how to get to it. Also, (I think it was in
20 > > > > > mythfrontend) I set the GUI to appear in a window instead of full
21 > > > > > screen. It turned out to be not what I wanted and now I can't find the
22 > > > > > option to get the full screen mode back. Help!
23 > > > >
24 > > > > After running mythsetup you then run mythfilldatabase. You should see
25 > > > > it logging into Zap2It and getting the channel data for the next 2
26 > > > > weeks. Is this working for you?
27 > > > >
28 > > > > When I hit the up arrow I do get a new channel. I can also just type
29 > > > > in a channel number and jump that way. I see no mention in the
30 > > > > mythbackend.log file that much happened. THere are a coupl eof lines
31 > > > > but they aren't very interesting and I doubt thay had anything to do
32 > > > > with this at all. More likely when I started the frontend on my PC.
33 > > > >
34 > > > > 2006-01-08 11:16:59.814 adding: lightning as a client (events: 0)
35 > > > > 2006-01-08 11:16:59.911 adding: lightning as a client (events: 1)
36 > > > > 2006-01-08 11:16:59.934 adding: lightning as a client (events: 0)
37 > > > > 2006-01-08 11:16:59.994 adding: lightning as a client (events: 0)
38 > > > > 2006-01-08 11:17:00.018 adding: lightning as a remote ringbuffer
39 > > > >
40 > > > > - Mark
41 > > > >
42 > > >
43 > > > After I ran mythfilldatabase for the umpteenth time I got a channel
44 > > > listing in the Channel Editor. Next, I want to get mythfrontend working
45 > > > on my wife's computer. It will need to use the database and mythbackend
46 > > > on my computer remotely. Is there anything special I need to know to
47 > > > make this work? I've already set up the IP address in mythsetup on my
48 > > > machine to my PC's network address...
49 > >
50 > > I ssh'd over to my wife's machine and tried running mythfrontend.
51 > > Apparently it can't connect to my mysql server. I added two lines to
52 > > the end of my /etc/mysql/my.cnf file last night that was supposed to fix
53 > > this:
54 > >
55 > > skip-innodb
56 > > set-variable=thread_stack=256k
57 > >
58 > > but I guess it didn't...
59 >
60 > I changed the bind-address option in my PC's /etc/mysql/my.cnf file from
61 > "127.0.0.1" to "0.0.0.0" and restarted mysql.
62
63 0.0.0.0 is unroutable. You need to put in the actual IP address of
64 your backend server. As I said in a previous email that is
65 192.168.1.55 for our setup here.
66
67
68 I then tried to run
69 > mythfrontend from my wife's PC in an ssh environment. I got a lot of
70 > errors that were copies of this:
71 >
72 > 2006-01-08 14:19:51.309 Unable to connect to database!
73 > 2006-01-08 14:19:51.309 Driver error was [1/1130]:
74 > QMYSQL3: Unable to connect
75 > Database error was:
76 > Host 'catherine.espersunited.com' is not allowed to connect to this
77 > MySQL server
78
79 this is because you have not run the commands that I showed you where
80 you allow network clients have access to MySQL. This is pointed out in
81 the link I sent you earlier.
82
83 Note: I do not run the frontend client through an ssh tunnel. I have
84 the frontend only on all our machines. My fronteld client points at
85 the server's IP address. (192.168.1.55) The mysql database on the
86 server is set up to allow network access. The frontend client talks to
87 it and only the video runs across the network.
88
89 >
90 > catherine is my wife's computer, located at 192.168.1.4 My computer is
91 > camille, at 192.168.1.3 When I tried to telnet into my mysql server, I
92 > got the same message:
93 >
94 > catherine ~ # telnet camille 3306
95 > Trying 192.168.1.3...
96 > Connected to camille.
97 > Escape character is '^]'.
98 > SHost 'catherine.espersunited.com' is not allowed to connect to this
99 > MySQL serverConnection closed by foreign host.
100 >
101 > How do I fix this? I had a similar problem a long time ago and as far
102 > as I can tell it was fixed by changing the mysql server's bind-address
103 > to 0.0.0.0. That didn't work this time. BTW, I'm using mysql version
104 > 4.1.14...
105
106 As I said earlier, follow the instructions on the link I gave you to
107 give network access to the mysql database.
108
109 - Mark
110
111 --
112 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] OT - mysql (WAS: [Re: OT - Need help with mythfronted GUI]) Michael Sullivan <michael@××××××××××××.com>