my $dbh = DBI->connect("DBI:mysql:database=dbname:host=localhost","root","password", {'RaiseError' => 1 });