[mythtv-users] Orphaned files
Brian L. Walter
blwalter at gmail.com
Thu Jun 14 22:16:16 UTC 2007
Mitch Gore wrote:
>
> I would try running the script with the option --dbhost=localhost
> Also, to just get a feeling for what the script is doing, add --debug
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org <mailto:mythtv-users at mythtv.org>
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>
> THANK YOU BRIAN! That did it! what do i need to do so i dont have to
> enter that option? I know one time way back it just worked.
>
> THANKS!
> Mitchell
I *believe* from what an earlier poster commented on - it was trying to
connect via 'mythtv' host with user 'mythtv', but, user mythtv did not
have a password in your database. You can either assign one (which is
probablly neccessary for myth, IIRC), or, for the immediate time being,
edit the script and set the hostname:
my $opt_host = hostname;
40
<http://svn.mythtv.org/trac/browser/trunk/mythtv/contrib/myth.find_orphans.pl#L40>
my $opt_dbhost = $opt_host;
41
<http://svn.mythtv.org/trac/browser/trunk/mythtv/contrib/myth.find_orphans.pl#L41>
my $opt_database = "mythconverg";
42
<http://svn.mythtv.org/trac/browser/trunk/mythtv/contrib/myth.find_orphans.pl#L42>
my $opt_user = "mythtv";
43
<http://svn.mythtv.org/trac/browser/trunk/mythtv/contrib/myth.find_orphans.pl#L43>
my $opt_pass = "mythtv";
44
<http://svn.mythtv.org/trac/browser/trunk/mythtv/contrib/myth.find_orphans.pl#L44>
my $opt_ext = "{nuv,mpg,mpeg,avi}";
45
<http://svn.mythtv.org/trac/browser/trunk/mythtv/contrib/myth.find_orphans.pl#L45>
my $opt_dir = "";
46
<http://svn.mythtv.org/trac/browser/trunk/mythtv/contrib/myth.find_orphans.pl#L46>
my $opt_dodelete = 0;
47
<http://svn.mythtv.org/trac/browser/trunk/mythtv/contrib/myth.find_orphans.pl#L47>
my $opt_dodbdelete = 0;
48
<http://svn.mythtv.org/trac/browser/trunk/mythtv/contrib/myth.find_orphans.pl#L48>
my $debug = 0;
49
<http://svn.mythtv.org/trac/browser/trunk/mythtv/contrib/myth.find_orphans.pl#L49>
my $opt_help = 0;
50
<http://svn.mythtv.org/trac/browser/trunk/mythtv/contrib/myth.find_orphans.pl#L50>
As the above shows...it defaults a password of 'mythtv'. You have 2
options now: Set opt_pass = '' (two single quotes) - not sure if that
will work or set opt_dbhost = 'localhost'
Brian
More information about the mythtv-users
mailing list