Hi Folks,
I got a problem using DataObjects with Postgresql.
First, I've tried successfully DataObjects Auto building with Mysql ,
and then I try to do the same with a postgresql Database.
When I try : php createtables nci.ini
I got an Error return:
php createTables.php nci.ini
X-Powered-By: PHP/4.2.3
Content-type: text/html
CREATING FOR pgsql://user:pass@localhost/nci
DB Error: no such database
Where my nci.ini file looks like:
[DB_DataObject]
database = "pgsql://user:pass@localhost/nci"
schema_location = /home/Vhosts/project/DataObjects
class_location = /home/Vhosts/project/DataObjects
require_prefix = DataObjects/
class_prefix = DataObjects_
debug = 1
When I use Pear DB with this dsn, it works, but if I use this dsn in
DataObjects Ini file, it crash ... Any Idea around ?
Thanks.
~
--
xav
--
PEAR General Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
|
Try Searching:
servers, voip, java, networking, microsoft ...
|
|
|
|