[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

Reply via email to