[mythtv-users] mysql database setup help
vitaminjoe at gmail.com
Tue Aug 15 23:07:39 UTC 2006
Although you probably already know this, I'll say it for those reading this
that may not:
The command 'mysql -u root < mc.sql' runs the MySQL client program (mysql)
and logs into the database as user 'root' (-u root). The '< mc.sql' portion
redirects the file 'mc.sql' into the mysql client program. The 'mc.sql'
file contains all of the necessary SQL commands to properly create the
database and insert the initial data.
You can view the SQL statements by simply doing 'cat mc.sql'.
Of course, the above commands will only work if they can find 'mc.sql',
which is assumed to be in the current working directory.
On 8/15/06, Jake Sallee <spark at breathedeeply.com> wrote:
> I knew what the error meant, it was fine. I'm not that much of a
> newbie. ;)
> What I think is misleading about the documentation I've found for
> mythtv, both on the mythtv.org wiki and from the guide i was using, was
> the instructions said, "to setup the initial database, run this
> command: /usr/share/mythtv/database> mysql -u root < mc.sql"
> I was under the impression by running that command, mysql was going to
> database "mc.sql", especially since mc.sql didn't exist in the database
> directory. So, I ran locate and found the file
> in /usr/share/doc/packages/mythtv/database/mc.sql
> That is what stumped me.
> Jake Sallee spark at breathedeeply.com
> Registered Linux User #358012 http://counter.li.org
> Open SuSE Linux http://www.opensuse.org
> K Desktop Environment http://www.kde.org
> Firefox Web Browser http://www.mozilla.org/firefox
> mythtv-users mailing list
> mythtv-users at mythtv.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mythtv-users