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?
zattzAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

syedasimmeesaqCommented:
May be this help you understanding your problem
http://www.xaprb.com/blog/2006/09/26/an-introduction-to-innodb-error-handling/
Thanks
0
zattzAuthor Commented:
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.
0
syedasimmeesaqCommented:
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.
0
Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

zattzAuthor Commented:
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.
0
syedasimmeesaqCommented:
I am happy it worked out for you
0
Computer101Commented:
PAQed with points refunded (500)

Computer101
EE Admin
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PHP

From novice to tech pro — start learning today.