Skip to content
Snippets Groups Projects
Commit 3eb394d2 authored by Tomáš Plesník's avatar Tomáš Plesník
Browse files

uprava chybove hlasky

parent fec9f6d7
Branches
Tags
No related merge requests found
...@@ -115,7 +115,7 @@ sub connectDB ...@@ -115,7 +115,7 @@ sub connectDB
my $db_user = shift; my $db_user = shift;
my $db_pass = shift; my $db_pass = shift;
my $dbh = DBI->connect("DBI:mysql:database=$db_name;host=$db_host",$db_user, $db_pass, {RaiseError => 1, mysql_auto_reconnect => 1}) || die "Could not connect to database '$db_name': $DBI::errstr"; my $dbh = DBI->connect("DBI:mysql:database=$db_name;host=$db_host",$db_user, $db_pass, {RaiseError => 1, mysql_auto_reconnect => 1}) || die "Could not connect to database '$db_name' at '$db_host': $DBI::errstr";
return $dbh; return $dbh;
} # End of connectDB } # End of connectDB
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment