Ticket #2116: diff
File diff, 590 bytes (added by , 18 years ago) |
---|
-
optimize_mythdb.pl
56 56 die "Unable to locate mysql.txt: $!\n\n" unless ($found && $db_host); 57 57 58 58 # Connect to the database 59 $dbh = DBI->connect("dbi:mysql:database=$db_name:host=$db_host ", $db_user, $db_pass)59 $dbh = DBI->connect("dbi:mysql:database=$db_name:host=$db_host;mysql_emulated_prepare=1", $db_user, $db_pass) 60 60 or die "Cannot connect to database: $!\n\n"; 61 61 62 62 # Repair and optimize each table