[mythtv-users] I can't make any progress in getting Mythtv to work
Johnny Russ
jruss at mit.edu
Sun Oct 26 01:39:13 UTC 2008
On Sat, Oct 25, 2008 at 6:46 PM, daryl <sofasurferlinux at charter.net> wrote:
> Now, using Ubuntu Hardy with Mythbuntu-desktop installed I have the same
> problems as in my first post...
>
> I configured a primary backend and a frontend.
>
> Next to where is says "ping test server" on the first setup page, there is
> a space labeled
> "port". Should there be anything in it? Should "ping test server" be
> checked or unchecked?
>
Usually you can just leave these alone, unchecked and the port blank. It
should use the default port. You can change the port if your database is
running on another machine.
>
> Page 2 has these options. "Use custom identifier for frontend
> preferences" and "Enable database server wakeup". I think these can be
> left alone for now. Correct?
>
You don't need to use a custom identifier unless you change the hostname of
you machine frequently, which most people do not do. You don't need database
server wakeup. Again that is for when you have another backend machine that
has the database running on that machine. If the other machine sleeps or is
shutdown, that setting would let you wake it up to access the database. You
don't need to worry about that since you are using a combined
frontend/backend machine.
>
> Now when I click the "finish" button I get this message "Cannot find
> (ping) database host on network. Clicking on "ok" takes my back to the
> first configuration page.
I had this happen recently when I set up a new backend. During the setup I
put in the ip address of the machine instead of just using localhost when it
asked for the address of the mysql server. Others can probably explain this
better, I assume it had something to do with mysql not being setup to accept
connections from the network or something like that. Just to make sure you
can reset the installation for these things by running:
sudo dpkg-reconfigure mythtv-common
Leave the default database as "mythconverg". Usually leave the default
username as "mythtv". Use whatever mythtv database password you like
("mythtv" is often assumed default password in some places. I don't think
security is a huge concern with this password since mythbuntu generates a
random password by default and stores it in plain text in
/etc/mythtv/mysql.txt). For the host that you MySQL server resides on try
"localhost".
You may now need to run:
sudo dpkg-reconfigure mythtv-database
This will actually create the database for mythtv to use. Again for the
MySQL host use "localhost". I don't really know anything about MySQL so this
next part was confusing to me when I first set up mythtv. MySQL has an
administrator account (usually named "root" by default). This account is
used just to initially create the mythtv mythconverg database and to give
the user "mythtv" access to the database. So the mythtv user and its
password are used for mythtv's day to day use of the database and for
accessing and changing stuff in the mythconverg database. Whereas the MySQL
root user and its password are used to actually create the database and
grant access but aren't used by mythtv directly. So you can leave the
administrator account name as "root". You can leave the 'root' password
blank usually, unless you explicitly created a password for MySQL root user.
Answer yes to the network access question if you plan on have other
frontends or accessing myth from other computers on your network.
Assuming you don't have any errors in the above, then you should be able to
run mythtv-setup (I believe this is the dialogue you were in when you had
issues before) again and things should work correctly this time.
>
> When I "esc" out of backend setup I get a window that says "Would you like
> to run mythfilldatabase?"
Whenever you exit mythtv-setup it will always ask if you want to run
mythfilldatabase. Mythfilldatabase, just accesses your listing data and
fills in all of the upcoming listings, and I believe it also updates all of
your recording schedules, etc.
>
> I think this is asking questions related to the network connection. Network
> connection should not be needed since I have a frontend/backend box. Is this
> correct?
It is my understanding that you don't actually need a network connection if
you are running a standalone FE/BE but you do need to have the network setup
and configured. However, you would usually need network access for listings
and for mythweb anyway.
>
>
> Something is not happening that should be happening. What?
>
Mythtv-setup is looking in the wrong place for the database server or it
does not have access to the server. I think the commands above should get
you on track but if not then there are wiki pages for fixes database access
problems or others on this list can help you better than I can with MySQL
issues.
Whenever I go to make any signigicant change to my MythTV box my wife asks
me how long it will take. I always say, "Well if things work how I plan,
then it will only take a few minutes. On the other hand if they don't work,
well..." Good luck, it is worth all the trouble.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20081025/115a3a85/attachment.htm
More information about the mythtv-users
mailing list