Cleaned up a number of warnings exposed by recent migration to PHP 5.2
[eq/.git] / bin / import_ward_data
index ef6d62b4359b104970b9ec48a38956fb1706ea02..53a3c3d05aefbc4d28b5421bb2a6411da3f5e4c7 100755 (executable)
@@ -667,7 +667,7 @@ sub check_for_changed_ids
 
 ###################################################
 # Open a connection to the database
-$dbh=DBI->connect("dbi:mysql:dbname=$dbname;host=$dbhost;port=$dbport",$dbuser,$dbpass,{
+$dbh=DBI->connect("dbi:mysql:dbname=$dbname:host=$dbhost:port=$dbport",$dbuser,$dbpass,{
     AutoCommit=>0,
     PrintError=>0}) or print "Connect Failure:".$DBI::errstr."\n" and exit 2;