Table was not locked with LOCK TABLES?

Hi,

I’m trying to import my live sites database to my localhost Xampp server. I get an error 1100 when I try to import into my localhost. The file type is .gz but I’ve opened it and tried without it being compressed too.

The thing about it is that i can import it into my live sites database just fine. What is the difference in the two databases?

Localhost: Software version: 5.5.27 - MySQL Community Server (GPL)

Live: Software version: 5.5.30-30.2 - Percona Server (GPL), Release rel30.2, Revision 500

That doesn’t seem to be a major difference. I’d like to mirror my live site.

Anyway, how do I fix this error?

Thanks