dbi-users  

Re: Cant connect to mysql database !

Pooja Sohni
Thu, 21 Jan 2010 04:04:27 -0800

I think i made a mistake, found it and fixed it yesterday.
Thanks for your help

Regards


On Wed, Jan 20, 2010 at 9:57 PM, m. allan noah <kitno...@gmail.com> wrote:

> I think you mean DBI->connect(, not DBI::connect->(
>
> allan
>
> On Wed, Jan 20, 2010 at 5:56 AM, Pooja Sohni <pso...@google.com> wrote:
> > Can't connect to data source '' because I can't work out what driver
> > to use (it
> > doesn't seem to contain a 'dbi:driver:' prefix and the DBI_DRIVER env
> > var is not
> >  set) at reportdw.pl line 463
> >
> > Below is my db connection string format :
> >
> > use DBI;
> > my $mysqlDbh = DBI::connect->
> > ("dbi:mysql:dbname:hostname","username","password") or die
> > ($DBI::errstr);
> >
> > Can anyone help me on this.
> >
> > Thanks
> > Pooja
> >
> >
>
>
>
> --
> "The truth is an offense, but not a sin"
>