PEAR DB Error message
| From: | Pete | Date: | Wed, 02 Jun 2004 14:37:42 +0000 |
| Subject: | PEAR DB Error message | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-12828@lists.php.net to get a copy of this message | ||
Hi,
our internet provider Schlund & Partner updated the his php installation last wednesday.
I updated our site at about the same time. But I uploaded a new homepage version which uses PEAR.
It is all pretty much set up right except that now I am getting an error message when my script
tries to connect to the database.
Fatal error: DB Error: connect failed in /homepages/24/d32514389/htdocs/_pear/pear/PEAR.php on line
762
http://dentona.de/pages/news.php?language=de&mehr=TRUE
I can not figure out what could be wrong. I am using the db class.
It is configured like this
<?php
$dsn = array(
'phptype' => 'mysql',
'username' => 'root',
'password' => 'test',
'hostspec' => 'localhost',
'database' => 'ourdb',
);
$options = array(
'debug' => 2,
'portability' => DB_PORTABILITY_ALL,
);
?>
Could anybody please help me ?
Thank you very much.
Pete