Hi Andersson,

On 6/15/05, Jonas Andersson <[EMAIL PROTECTED]> wrote:
> Hi,
>
> (sorry for fairly lengthy post)
>
> I used to run Red Hat 9, and had a perfect relationship with Perl, DBI,
> and MySQL. However, after upgrading to Fedora Core 4, I am no longer
> able to connect to MySQL from Perl via DBI.

I faced the same conflict with the perl, in FC3,

Try usinf use perl5.8.0 just above use DBI

Should work

Best
Vasundhar
---------------------------
> #!/usr/bin/perl -w
> use strict;
   use perl5.8.0;
> use DBI;
> 
> my $dbh =
> DBI->connect("DBI:mysql:database=MyOwnDatabase;host=localhost",
>                        "MyUserName", "MySpecialPassword",
>                        {'RaiseError' => 1});
>

Reply via email to