Hi,
I got PHP script that is running as corn(schedule) job, but most of the time I get the exception in MYsql connection :
The connection has been disabled.
In my script I am checking the connection state before exceuting any query through PHP, still I am getting this exception after one or two day.
Is there anyway I can avoid this problem.
Thanks
The connection has been disabled MYSQL
Moderator: General Moderators
Re: The connection has been disabled MYSQL
can you show us the cron command?phpcoder wrote:Hi,
I got PHP script that is running as corn(schedule) job, but most of the time I get the exception in MYsql connection :
The connection has been disabled.
In my script I am checking the connection state before exceuting any query through PHP, still I am getting this exception after one or two day.
Is there anyway I can avoid this problem.
Thanks