[EMAIL PROTECTED] (Jonathan M. Hollin) wrote:
>[EMAIL PROTECTED] (Mike Cameron) wrote:
>:: how bout adding a 'or die DBI->errstr' to the above line to find
>:: out whats
>:: happening.
>
>Hmm... Tried that, it returns nothing!!! :-(
This is suspicious. The connect() is definitely where the error is
happening given what you wrote earlier. Try making sure, change it to:
use DBI();
$driver = "mysql";
$dsn = "DBI:$driver:database=shapeshifter;host=localhost";
$dbh = DBI->connect($dsn, dbusrname, dbpassword)
or die "Error: $DBI::errstr";
(include the whole string there)
------------------- -------------------
Ken Williams Last Bastion of Euclidity
[EMAIL PROTECTED] The Math Forum
- Connection to MySQL DB fails when mod_perl enabled... Jonathan M. Hollin
- Re: Connection to MySQL DB fails when mod_perl ena... Mike Cameron
- RE: Connection to MySQL DB fails when mod_perl ena... Jonathan M. Hollin
- Re: Connection to MySQL DB fails when mod_perl ena... Rodney Broom
- RE: Connection to MySQL DB fails when mod_perl ena... Jonathan M. Hollin
- Re: Connection to MySQL DB fails when mod_perl ena... Rodney Broom
- RE: Connection to MySQL DB fails when mod_perl... Jonathan M. Hollin
- RE: Connection to MySQL DB fails when mod_perl ena... Ken Williams
- RE: Connection to MySQL DB fails when mod_perl... Jonathan M. Hollin
- Fw: Connection to MySQL DB fails when mod_perl ena... Rodney Broom
- RE: Connection to MySQL DB fails when mod_perl ena... Jonathan M. Hollin
- RE: Connection to MySQL DB fails when mod_perl ena... Jonathan M. Hollin
- Re: Connection to MySQL DB fails when mod_perl ena... Rodney Broom
- RE: Connection to MySQL DB fails when mod_perl... Jonathan M. Hollin
- RE: Connection to MySQL DB fails when mod_perl ena... Ken Williams
- RE: Connection to MySQL DB fails when mod_perl ena... Jonathan M. Hollin
- Re: Connection to MySQL DB fails when mod_perl ena... Tom Lancaster
- RE: Connection to MySQL DB fails when mod_perl ena... Jonathan M. Hollin
