Re: PEAR DB Error message

From: Date: Wed, 02 Jun 2004 17:48:28 +0000
Subject: Re: PEAR DB Error message
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-12839@lists.php.net to get a copy of this message
Hi Pete, have you tried connecting with PHP's native MySQL functions? Regards, Torsten Roehr PS. Also hosting with S+P. No critical problems yet... they are doing a great job, IMHO. "Pete" <webmaster@dentona.de> wrote in message news:20040602143752.3458.qmail@pb1.pair.com... 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

« previous php.pear.general (#12839) next »