Panda-X wrote: > > I've got this error, anything I can do ? > > "Can't locate auto/DBI/data_source.al in @INC " > > Code : > > use DBI; > my @dataSource = DBI -> data_source ( "mysql" ) ;
The method call is DBI->data_sources('mysql'); > and if I change the as this : > > use DBI; > my $dbh = DBI -> connect ( "dbi:mysql", $adm, $pass ) ; the data source should look like dbi:<drivername>:<database name> so dbi:mysql:<database name> in your case. [snip] HTH, Rob -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/