Or let me know how to stop receiving emails that I don't want... Even when I 
selected NO get emails in my google account
Sent via BlackBerry by AT&T

-----Original Message-----
From: Sandeep <[email protected]>
Sender: [email protected]
Date: Tue, 3 Apr 2012 00:54:27 
To: CakePHP<[email protected]>
Reply-To: [email protected]
Subject: mysql gone away

HI There,

I'm facing a big problem with cakephp 1.2

first one is that cakephp is creating connection with mysql using
mysql_pconnect, but in database.php I've set "persistent" to false.
For this I've changed core files and change mysql_pconnect to
mysql_connect. I know it is not a good idea. could any body suggest me
a better one, as mysql is not changing the connection type from
database.php

second one, I'm creating pdf and excel reports using html2pdf library,
while creating small reports it works fine, But when a report with
large data is provided it takes about 40+ minutes to created the
report in this case my report get created but after creating the
report, I need to send a email alert to users about the report, for
which I've to pick some data from database and at this time I get an
error
"Mysql gone away 2006"

I've increase

mysql_wait_timeout

max_allowed_packet

but not succeeded.

Could any one suggest me what to do to figure out this problem.

Thanks in advance

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


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