[mythtv-users] running mythconverg_backup.pl as non-mythtv user

Mike Perkins mikep at randomtraveller.org.uk
Mon Aug 20 08:51:15 UTC 2012


On 19/08/12 17:11, Joey Morris wrote:
> I tried to run mythconverg_backup.pl on a 0.24 database as a user
> other than my mythtv user. I also run mythfrontend as that user, so
> the user has the appropriate mythconverg username/password defined in
> the files under the ~/.mythtv directory. When I ran the backup script,
> it failed with the message:
>
>    mysqldump: Got error: 1045: Access denied for user
>    'mythtv'@'localhost' (using password: YES) when trying to connect
>
Confusion here? The 'database user' mysql requires credentials for has *nothing* 
to do with the 'login user' who runs the script.

It is perfectly acceptable to run the myth programs from any login providing 
valid credentials for the mythtv database user are supplied in the appropriate 
mysql.txt/config.xml files.

(Assuming that the logged in user has the correct permissions to access the 
required directories and files, of course.)

-- 

Mike Perkins



More information about the mythtv-users mailing list