my $dbh = DBI->connect ( "DBD:mysql :database=perl :host=localhost",$username,$password) ^^^ | should read DBI::mysql The syntax is: $dbh = DBI->connect(DBI:driver_name:database=database_name, username, password) The default host is localhost, so host=localhost is redundant. __________________ William Ampeh (x3939) Federal Reserve BoardThread Previous | Thread Next