DBI connect('d60380940:192.168.1.3','HASH(0x238b3c)',...) failed: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified (SQL-IM002) at CRTDBTBL.pl line 46 Cannot connect to the database ERROR: 1 ([Microsoft][ODBC Driver Manager] Data source name not found and no d efault driver specified (SQL-IM002)) #### sub open_dbi { # Declare and initialize variables my $host = '192.168.1.3'; my $db = d60380940; my $db_user = root; my $db_password = root; # Connect to the requested server # my $dbh = DBI->connect("dbi:mysql:$db:$host", "$db_user", "$db_password", {RaiseError => 0, PrintError => 0} ) or err_trap("Cannot connect to the database"); my $dbh = DBI->connect("dbi:ODBC:d60380940:192.168.1.3", {RaiseError => 0, PrintError => 0} ) or err_trap("Cannot connect to the database"); return $dbh; }