DB Error: insufficient permissions

From: Date: Tue, 17 Aug 2004 21:12:00 +0000
Subject: DB Error: insufficient permissions
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-14153@lists.php.net to get a copy of this message
Hi there I am trying to install PEAR on a shared web service and I don't have any shell access. I tried do the steps as described in the manual installation document but when I try to connect to my database I get the error message: "DB Error: insufficient permissions". My connect script is looking like this (trying to connect to the database users which exists): <?php ini_set("include_path", '/customers/abe/abe/httpd.www/includes/' . PATH_SEPARATOR . ini_get("include_path")); require_once 'DB.php'; $datasource = "mysql://abe:<pwd>@localhost/users"; $db_object = DB::connect($datasource, TRUE); if(DB::isError($db_object)) { die($db_object->getMessage()); } $db_object->setFetchMode(DB_FETCHMODE_ASSOC); include('check_login.php'); ?> Any tips? Regards

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