Hi,
see the DBI perldoc
here is a quick example:
my $dbh = DBI->connect("DBI:mysql:mydb", $user, $password)
or die "Can't connect to $data_source: $DBI::errstr";
Charitha wrote:
>
> Hi all,
>
> Please guide me to get the connection with mysql through perl scripts and
> through the scripts i have to insert some lot of data in the existing
> tables.
>
> Thank you.
>
> Regards,
> Charitha.
>
> ---------------------------------------------------------------------
> Before posting, please check:
> http://www.mysql.com/manual.php (the manual)
> http://lists.mysql.com/ (the list archive)
>
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail <[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
--
Colin Faber
(303) 859-1491
fpsn.net, Inc.
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php