Link to home
Start Free TrialLog in
Avatar of zattz
zattz

asked on

mysql timeout with innodb but not myisam

Hi all,

I have installed MySQL 5.0.51a 64bit on Windows 2003.

I have a php script that executes some queries, but it keeps timing out with "Fatal error: Maximum execution time of 30 seconds exceeded in ..."

If I change my table from innoDB to myISAM then it takes about 2 seconds and does not time out.

Any ideas?
Avatar of syedasimmeesaq
syedasimmeesaq
Flag of United States of America image

May be this help you understanding your problem
http://www.xaprb.com/blog/2006/09/26/an-introduction-to-innodb-error-handling/
Thanks
Avatar of zattz
zattz

ASKER

By the way, this is on an empty database, with no users connected. The exact same script works fine on a linux box with innodb, but when I run it on the windows box it times out.
ok in that case its your installation of mysql problem on windows box. Do you currently have any databases on windwos machine? If not, do you want to do a fresh reinstall? If you have the databases, then some other solution is needed.
Avatar of zattz

ASKER

I've found the problem. I copied over the "my-innodb-heavy-4G.ini" as my config and it magically works properly.

I guess I'll have to learn more to find out what exactly in the original config was causing the problem.
I am happy it worked out for you
ASKER CERTIFIED SOLUTION
Avatar of Computer101
Computer101
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial