MySQL Forums
Forum List  »  Newbie

please help! error from create temporary table x like y
Posted by: Kevin L
Date: July 18, 2014 12:24PM

Hi everyone,

We recently switched servers and some scripts that used to work on the old server no longer works on the new server but everything seems to be the same.

The error I'm getting is
ERROR 1005 (HY000): Can't create table 'X' (errno: -1).

The simple line of code is:
CREATE TEMPORARY TABLE x like Y.

I believe it is because Y is a innodb table, because when Y is an myisam table the line works fine.

Any help would be greatly appreciated!

Cheers,
Kev

Options: ReplyQuote


Subject
Written By
Posted
please help! error from create temporary table x like y
July 18, 2014 12:24PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.