Hi, i need to connect with my database using Pear::DB, but when i use
"var $default = array('driver' => 'pear-mysql', ...", an error occurs.

So i try "var $default = array('driver' => 'pear'," and i found an
error in dbo_pear.php. The class DboSource try includes the DBOPear and
occurs another error. I open the file dbo_pdbc.php and the class name
isn't DBOPear, but DBO_Pear. I fix it but the errors continues:

"Warning: Missing argument 1 for DBOPear::connect(), called in
C:\Arquivos de programas\Apache
Group\Apache2\htdocs\test\cake\cake\libs\model\datasources\dbo_source.php
on line 87 and defined in C:\Arquivos de programas\Apache
Group\Apache2\htdocs\test\cake\cake\libs\model\dbo\dbo_pear.php on line
63"

Well, i just wanna connect using Pear, if someone knows how i do this
write ok? tk's


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to