Re: DBI / DBD / MySQL installation problem
- From: bvasundhar@xxxxxxxxx (Vasundhar)
- Date: Fri, 17 Jun 2005 15:43:01 +0530
Hi Andersson,
On 6/15/05, Jonas Andersson <jonas.andersson@xxxxxxxxxxxxxx> 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});
>
.
- References:
- DBI / DBD / MySQL installation problem
- From: Jonas Andersson
- DBI / DBD / MySQL installation problem
- Prev by Date: Re: dbi:oracle win2k ORA-1222 problems
- Next by Date: Regarding DBI
- Previous by thread: DBI / DBD / MySQL installation problem
- Next by thread: DBD::Oracle w/HP-UX memory leak
- Index(es):
Relevant Pages
|
|