Re: Errors installing Template CPAN module
From: knocte (knocte_at_NO-SPAM-PLEASE-hotmail.com)
Date: 03/16/04
- Next message: Jim Gibson: "Re: Hash slices and array references"
- Previous message: Paul Lalli: "Re: Returning/Sending Arrays as Parameters"
- In reply to: James Willmore: "Re: Errors installing Template CPAN module"
- Next in thread: knocte: "Re: Errors installing Template CPAN module (FIXED!)"
- Reply: knocte: "Re: Errors installing Template CPAN module (FIXED!)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 16 Mar 2004 18:10:39 +0100
James Willmore wrote:
> UGH!!! Do NOT post ALL the results! Only post what's relevent!.
>
> [ ... ]
>
> Clue #1 is taring you right in the face ...
>
(Yep... but it's not taring, it's *untaring* ;)
Sorry for that.
>>DBI Test Configuration
>>----------------------
>>
>>Please enter the driver name for the test database.
>>The DBD drivers installed on your system are
>>
>> DBM, ExampleP, File, Proxy, Sponge, mysql
>>
>>Enter driver name: [mysql] mysql
>>
>>Now enter the data source (DSN) for the test database.
>>Many DBD drivers require only a database name (e.g. 'test') while
>>others may require an alternate format or additional parameters
>>(e.g. 'dbname=test'). Please consult your DBD documentation for
>>further details.
>>
>>Database name: [test] test
>>Enter user name : []
>>Enter password : []
>
>
> do you have MySQL on your system? Is it running? Username and password
> set properly (you haven't set these values - is this by design or did you
> just blindly hit 'Enter'?)?
I simply hit Enter... BUT, I know that I have MySQL running, and that
there is a database called 'test', with all permissions granted to any
user (I can enter mysql with no user and no password and change the
database with insertions).
> [ ... ]
>
> Clue #2 ... the DBI tests have failed ...
>
>
>>t/date...........ok
>>t/dbi............
>>
>>Use of uninitialized value in join or string at
>>/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/DBI.pm line 1300,
>><DATA> line 1.
>>Use of uninitialized value in join or string at
>>/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/DBI.pm line 1300,
>><DATA> line 1.
>>Use of uninitialized value in join or string at
>>/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/DBI.pm line 1300,
>><DATA> line 1.
>>Use of uninitialized value in join or string at
>>/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/DBI.pm line 1300,
>><DATA> line 1.
>>Template process failed: DBI error - DBI connect failed: Unknown MySQL
>>Server Host 'test' (1)
>
>
> again ... see the comments above related to MySQL. Your connection to a
> datasource failed.
>
>
>>Anyone know what is the problem? Thanks in advance.
>
>
> Yes ... you need to make sure MySQL (or some database software) is running
> on your system. You *may* be able to use DBD::SQLite to run the tests
> againist if you don't have a database server to test againist - but I'm
> not 100% sure about this.
>
> HTH
>
Well, I will have to do some tests (using other usernames/passwords,
using other string instead of 'test'...). I will inform you...
Thanks four your reply. Regards.
- Next message: Jim Gibson: "Re: Hash slices and array references"
- Previous message: Paul Lalli: "Re: Returning/Sending Arrays as Parameters"
- In reply to: James Willmore: "Re: Errors installing Template CPAN module"
- Next in thread: knocte: "Re: Errors installing Template CPAN module (FIXED!)"
- Reply: knocte: "Re: Errors installing Template CPAN module (FIXED!)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|