1.2 RC3 and Adodb

2008-10-21 Thread lightglitch

Hi,

I was trying to use Adodb in Cake 1.2 RC3 and for testing it I tried
to connect to a mysql database like this:


var $default = array(
'driver' = 'adodb',
'connect'= 'mysql',
'persistent' = true,
'host' = 'host',
'login' = 'root',
'password' = '',
'database' = 'test',
);

but every time I do a query with that returns more than one result it
enters in a infinite cycle.

Can anyone confirm this behavior or do you have your connections using
ado working?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: 1.2 RC3 and Adodb

2008-10-21 Thread mark_story

You should not use the AdoDB driver for any database that does not
require it.  It is by far the slowest database driver.  From the code
you posted you are using MySQL.  You should be using the native mysql
dbo object.  The last time I tested it, I did so against mysql and it
was working.

-Mark

On Oct 21, 8:24 am, lightglitch [EMAIL PROTECTED] wrote:
 Hi,

 I was trying to use Adodb in Cake 1.2 RC3 and for testing it I tried
 to connect to a mysql database like this:

 var $default = array(
 'driver' = 'adodb',
 'connect'= 'mysql',
 'persistent' = true,
 'host' = 'host',
 'login' = 'root',
 'password' = '',
 'database' = 'test',
 );

 but every time I do a query with that returns more than one result it
 enters in a infinite cycle.

 Can anyone confirm this behavior or do you have your connections using
 ado working?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---