Problem to run createtables.php of DB_DataObject package
| From: | Nicolas Moyroud | Date: | Thu, 16 Dec 2004 12:50:02 +0000 |
| Subject: | Problem to run createtables.php of DB_DataObject package | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-16268@lists.php.net to get a copy of this message | ||
Hello,
I send you this email because i have a big problem with DB_DataObject package. When i try to run the createtables.php script in order to create php classes with my db tables, i have the following error :
DB_DataObject Error: DB Error: not found
It's very strange because when i use the same dsn mysql://root@localhost/biblog with DB package it works perfectly.
I don't use the same configuration that is used in DB_DataObjects examples. I work under Windows with an EasyPHP-like server : wamp.
My PEAR directory is C:/Program Files/wamp/php/PEAR.
Here is my ini file used with DB_DataObjects :
[DB_DataObject]
database => mysql://root@localhost/biblog
schema_location => C:\Program Files\wamp\www\BIBlog\DataObjects
class_location => C:\Program Files\wamp\www\BIBlog\DataObjects
require_prefix => DataObjects/
class_prefix => DataObjects_
I don't understand why it don't work !! I have created all directories and i have done all that is indicated in DB_DataObject documentation.
Please help me if you can, cause i really want to use this package.
Thanks,
N.Moyroud