[EMAIL PROTECTED] (Jonathan M. Hollin) wrote: >:: 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"; > >Done this - failed! What does 'failed' mean? What was the error? That's the point, you have to see the particular error string, starting with "Error:", to find out what's happening. ------------------- ------------------- Ken Williams Last Bastion of Euclidity [EMAIL PROTECTED] The Math Forum
- RE: Connection to MySQL DB fails when mod_perl enabled.... Jonathan M. Hollin
- Re: Connection to MySQL DB fails when mod_perl enabled.... Rodney Broom
- RE: Connection to MySQL DB fails when mod_perl ena... Jonathan M. Hollin
- RE: Connection to MySQL DB fails when mod_perl enabled.... Ken Williams
- RE: Connection to MySQL DB fails when mod_perl ena... Jonathan M. Hollin
- Fw: Connection to MySQL DB fails when mod_perl enabled.... Rodney Broom
- RE: Connection to MySQL DB fails when mod_perl enabled.... Jonathan M. Hollin
- RE: Connection to MySQL DB fails when mod_perl enabled.... Jonathan M. Hollin
- Re: Connection to MySQL DB fails when mod_perl enabled.... Rodney Broom
- RE: Connection to MySQL DB fails when mod_perl ena... Jonathan M. Hollin
- RE: Connection to MySQL DB fails when mod_perl enabled.... Ken Williams
- RE: Connection to MySQL DB fails when mod_perl enabled.... Jonathan M. Hollin
- Re: Connection to MySQL DB fails when mod_perl enabled.... Tom Lancaster
- RE: Connection to MySQL DB fails when mod_perl enabled.... Jonathan M. Hollin
- Re: Connection to MySQL DB fails when mod_perl enabled.... Rodney Broom
- RE: Connection to MySQL DB fails when mod_perl enabled.... Jonathan M. Hollin
- RE: Connection to MySQL DB fails when mod_perl enabled.... Ken Williams
- RE: Connection to MySQL DB fails when mod_perl enabled.... Jonathan M. Hollin
- Re: Connection to MySQL DB fails when mod_perl enabled.... Rodney Broom
- RE: Connection to MySQL DB fails when mod_perl enabled.... Jonathan M. Hollin
- RE: Connection to MySQL DB fails when mod_perl enabled.... Jonathan M. Hollin