How can you avoid execution time out error while fetching record from mysql

Showing Answers 1 - 4 of 4 Answers

karthik

  • Nov 15th, 2006
 

set_time_limit -- Limits the maximum execution time

It must be increased

Adauto

  • Nov 22nd, 2006
 

set_time_limit(0);If you set to 0 you say that there is not limit.

Xylex

  • Oct 3rd, 2007
 

Trick question - Max execution time of a script is time spent inside the script.  A long MySQL query won't cause a PHP execution timeout error.  Check the documentation of set_time_limit for more info.

Apache will still time out on you, but tweaking set_time_limit won't fix that problem either, and it's not an execution timeout.

  Was this answer useful?  Yes

anand.k

  • Nov 18th, 2007
 

we have to check the MySQL connection if its not properly get check domain name and password in oracle 10g or 11g you should check the communication port authentication. otherwise it should not create oracle or MySQL error just give time out error .its my experience.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions