[mythtv-users] mythlink.pl

Bill Meek keemllib at gmail.com
Sun Jun 10 17:34:45 UTC 2018


On 06/10/2018 11:47 AM, Klaus Becker wrote:
> Le dimanche 10 juin 2018, 18:36:49 CEST Bill Meek a écrit :
>> On 06/10/2018 10:46 AM, Klaus Becker wrote:
>>> I have
>>>
>>> #!/bin/sh
>>> /usr/bin/perl
>>> /home/klaus/mythlink.pl --link  /home/klaus/multimedia/video/tv/aufnahmen
>>>
>>> It starts, but nothing happens and the script will not end.
>>>
>>> Both scripts are in /home/klaus
>>>
>>> Klaus
>>
>> Remove /usr/bin/perl from the script. It appears to hang because perl is
>> waiting for input from the terminal.
> 
> 
> I tried, but I become the same message as before:
> 
> $ ./links.sh
> DBI connect('database=mythconverg:host=127.0.0.1;port=3306','mythtv',...)
> failed: Access denied for user 'mythtv'@'localhost' (using password: YES) at /
> usr/share/perl5/MythTV.pm line 375.
> Cannot connect to database:

diff {~,~mythtv}/.mythtv/config.xml
ls -ld {~,~mythtv}/.mythtv/config.xml

The line containing: ... Using configuration directory = ...
in your frontend log will tell you config.xml it's using.

-- 
Bill


More information about the mythtv-users mailing list