I am running easyphp12 running mysql as a local db server for a some software.

This software can also connect to a remote db where it doesnt give this error while performing the exact mysql query, so I only get the error when using the local db. Ive tried increasing max_execution_time in php from 30 seconds to 180 then 300 then 600 and none of this has helped.

Any suggestions?

Here is an image of the timeout error. http://i46.tinypic.com/302s9oz.jpg

Try the offending query from the mysql command line. Check how long it runs on the online machine and on the local server. Also the error message suggests that this is not a mysql error or timeout but a timeout of your client component. Try to increase the timeout for that component.