[mythtv-users] Unable to connect to database.

Hika van den Hoven hikavdh at gmail.com
Wed Sep 14 10:07:34 UTC 2016


Hoi Forum,

Wednesday, September 14, 2016, 7:38:27 AM, you wrote:



> Am 14. September 2016 00:49:44 MESZ, schrieb Romain Kang <romain at kzsu.stanford.edu>:
>>> |mysql -p -u root mythconverg
>>> I received an Error: ERROR 1049 (42000): Unknown database
>>'mythconverg'
>>
>>Quick sanity check to see if the "mythconverg" is actually, try the
>>following as as superuser:
>>   ls /var/lib/mysql/mythconverg/
>>

> OK, there was nothing. 

>>If that comes back missing or empty, try the following sequence:
>>   service mythtv-backend stop
>>   mysql -p -u root < /usr/share/mythtv/sql/mc.sql
>>   service mythtv-backend start
>>

> I've executed this command and after that, obove file was created. 

> Then mythconverg restore started. "Successfully restored Backup" :-) yeah!

> Now, when I Start frontend, there comes a message that mythtv needs a newer Database .

> How can I Upgrade Database scheme?  My scheme is 10 versions back. 


>>Romain Kang                            Disclaimer: I speak soley for myself,
>>romain at kzsu.stanford.edu                    except when indicated otherwise.
>>_______________________________________________

You should first run mythtv-setup. This will update the main database
tables. Next mythfrontend will update any plugin tables.


Tot mails,
  Hika                            mailto:hikavdh at gmail.com

"Zonder hoop kun je niet leven
Zonder leven is er geen hoop
Het eeuwige dilemma
Zeker als je hoop moet vernietigen om te kunnen overleven!"

De lerende Mens



More information about the mythtv-users mailing list