[mythtv-users] mythtvsetup won't run, exits with errors (Fedora)

Jarod C. Wilson jcw at wilsonet.com
Tue Mar 9 02:18:43 EST 2004


On Mar 7, 2004, at 19:21, match at ece.utah.edu wrote:

> Still no joy.  :-(

:-[

>> If you imported the initial mc.sql from the mythtv db directory, then
>> you have a database mythconverg, with a mysql user mythtv, password
>> mythtv, which is what mythtvsetup uses. All should be fine there.
>
> As user mythtv, executing:
> mysql -u root -p < /user/share/doc/mythtv-0.14/database/mc.sql
> seems to do nothing at all except ask for the MySQL password. No
> messages on the screen, just exits to a prompt. When I look in
> /var/lib/mysql   I see:
> mysql   mysql.sock   test  (test is an empty directory, mysql is
> populated)
> but no mythconverg ...

I could be slightly off, the mythconverg db might not get created until 
you run mythtvsetup... Okay, just looked at the mc.sql file, line one 
is "CREATE DATABASE mythconverg;"... Huh. I don't really know mysql all 
that well, so I'm not certain if maybe nothing shows up in 
/var/lib/mysql until you actually put something in it... Anyone?

Worst-case, try "mysql -u root -p", then at the mysql> prompt "create 
database mythconverg;" and quit. Then try mythtvsetup again... You 
might also double-check that the mythtv user actually got added w/a 
"mysql -u root -p mysql" then at the mysql> prompt, "select * from 
user;" and see if there are any mythtv entries. If not...

>> Your initial message actually indicates the problem may be that you
>> don't have the qt-mysql package installed. What does "rpm -q qt-mysql"
>> return? If nothing, then "apt-get install qt-mysql". Not sure why it
>> wouldn't be on there though... :-\
>
> Yeah, I thought of that, but:
>
> "rpm -q qt-mysql" says it's not there. "apt-get install qt-mysql" says 
> it
> can't find the package.
>
> synaptic says that I have Qt-MySQL verion 1:3.1.2-14 installed
>
> ??? So I don't know if I have it or not!

Looking at my box just now, it looks like it should actually be 
qt-MySQL, and version 1:3.1.2-14 is correct, so I guess you're actually 
fine there. I guess its gotta be the db...

-- 
Jarod C. Wilson, RHCE

Got a question? Read this first...
     http://catb.org/~esr/faqs/smart-questions.html
MythTV, Fedora Core & ATrpms documentation:
     http://wilsonet.com/mythtv/
MythTV Searchable Mailing List Archive
     http://www.gossamer-threads.com/archive/MythTV_C2/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://mythtv.org/pipermail/mythtv-users/attachments/20040308/f9ece38e/PGP.pgp


More information about the mythtv-users mailing list