Ticket #13077: reverse_database_host_order.patch

File reverse_database_host_order.patch, 904 bytes (added by Jonatan Lindblad, 2 years ago)
  • mythtv/programs/scripts/database/mythconverg_backup.pl

    diff --git a/mythtv/programs/scripts/database/mythconverg_backup.pl b/mythtv/programs/scripts/database/mythconverg_backup.pl
    index 6b3d0eb13c..efc3a58470 100755
    a b EOF 
    701701            my $have_database_libs = check_database_libs;
    702702            return 0 if ($have_database_libs < 2);
    703703            $dbh = DBI->connect("dbi:mysql:".
    704                                 "database=$mysql_conf{'db_name'}:".
    705                                 "host=$mysql_conf{'db_host'}",
     704                                "host=$mysql_conf{'db_host'}:".
     705                                "database=$mysql_conf{'db_name'}",
    706706                                "$mysql_conf{'db_user'}",
    707707                                "$mysql_conf{'db_pass'}",
    708708                                { PrintError => 0 });