Thanks Jan,

We are running PHP5 and MySQL 5 and it still gives endless nightmares
- I came to the same conclusion as you have done and added a function
to my app_model that I call after I call a stored procedure...

    function releaseDB() {
        $db =& ConnectionManager::getDataSource($this->useDbConfig);
        $db->disconnect();
        $db->connect();
    }

Ugly but it works :s



On Sep 26, 5:00 pm, Jan Boonen <[EMAIL PROTECTED]> wrote:
> If it gives you a SQL error, probably something goes wrong in the
> communication between PHP's MySQL-driver and the MySQL database.
> Assuming that your SQL code is correct. You might try upgrading the
> driver or the database.
>
> Another way might be to try executing stored procedures with the ADODB
> driver.


--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to