$dbh =
DBI->connect("dbi:InterBase:dbname=/usr/local/firebird/security.fdb;ho
+st=$host",$fbuser,$fbpass,{AutoCommit =>1});
my $create = qq(CREATE DATABASE '$host:/var/lib/firebird/$dbname.fdb'
+user '$username' password '$password');
$dbh->do($create);
When I try to run it I get these errors, which is what makes me think I might be connected to the wrong database.
DBD::InterBase::db do failed: Unsuccessful execution caused by an unavailable resource.
invalid database handle (no active connection)
Thanks for all your help.
Izabelle
|