mysql query timeout behavior

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
amir
Forum Contributor
Posts: 287
Joined: Sat Oct 07, 2006 4:28 pm

mysql query timeout behavior

Post by amir »

I have an application that was converted from SQL Server. In that application we had code that handlled query timeouts. I have searched the PHP manuals, MySQL manual, as well as google and cannot find anything about query timeouts.

Is there such a thing as a query timeout, or does a query such as a SELECT just run "forever?"

I am also interested in how this timeout can be changed, such as a line in my.cnf.
Post Reply