[mythtv-users] MythTV MySQL setup didn't work

Robert McNamara robert.mcnamara at gmail.com
Sat Jan 16 18:16:45 UTC 2010


On Sat, Jan 16, 2010 at 10:13 AM,  <emarkert at aim.com> wrote:
> mysql -u root -p < /usr/share/doc/mythtv-docs-0.22/database/mc.sql
>
> needs to be
>
> mysql -u root -p mythconverg <
> /usr/share/doc/mythtv-docs-0.22/database/mc.sql
>
> and you likely would have needed to create the database first
>
> mysqladmin -uroot -p create mythconverg
>

<Please don't top post on this list>

That is all incorrect. the mc.sql is precisely what creates the
database for you, along with setting the correct attributes that the
DB schema creation and upgrade path that mythbackend follow expects.
You do *not* need to create the DB first, and you definitely don't
want to run the DB creation script on the database it itself creates.

Robert


More information about the mythtv-users mailing list