﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	mlocked
11830	mythconverg_backup.pl in 0.27 doesn't support prior config.xml versions	skd5aner@…	sphery	"I just upgraded to 0.27-fixes.  I compile from source, so I did a make uninstall on 0.26-fixes, compiled and installed 0.27-fixes, then tried to run mythconverg_backup.pl prior to running any mythtv executable for the first time to backup the database.  Unfortunately, it can't properly parse the config.xml file in my home directory.  When I run the version of mythconverg_backup.pl that ships with 0.26, it works just fine.

The output from running the mythconverg_backup.pl version that ships with 0.27-fixes is: 

{{{
mythconverg_backup.pl --verbose                          
Configuring environment:
  -    username: mythtv
  -        HOME: /home/mythtv
  - MYTHCONFDIR: /home/mythtv/.mythtv

Parsing configuration files:
  - checking: /home/mythtv/.mythtv/config.xml
     parsing: /home/mythtv/.mythtv/config.xml
  - checking: /home/mythtv/.mythtv/backuprc
     parsing: /home/mythtv/.mythtv/backuprc

Applying command-line arguments.

Checking configuration.

WARNING: DBName not specified. Using mythconverg

WARNING: DBHostName not specified.
         Assuming it is specified in the MySQL options file.

WARNING: DBUserName not specified.
         Assuming it is specified in the MySQL options file.

WARNING: DBPassword not specified.
         Assuming it is specified in the MySQL options file.

Database Information:
         DBHostName:
             DBPort: -1
         DBUserName:
         DBPassword:
             DBName: mythconverg
        DBSchemaVer:
  DBBackupDirectory: /mythtv/DBBackup
   DBBackupFilename: mythconverg-20130907213135.sql

Executables:
          mysqldump: mysqldump
           compress: gzip

Executing command:
'/usr/bin/mysqldump' --add-drop-table --add-locks --allow-keywords --complete-insert --extended-insert --lock-tables --no-create-db --quick --add-drop-table 'mythconverg' 2>&1 1>'/mythtv/DBBackup/mythconverg-20130907213135.sql'

mysqldump exited with status: 2
mysqldump output:
mysqldump: Got error: 1045: Access denied for user 'mythtv'@'localhost' (using password: NO) when trying to connect

}}}
"	Bug Report - General	closed	minor	unknown	Contributed Scripts & Apps	Master Head	medium	Invalid			0
