I am trying to fix this migration history problem but can't get this to work in MySQL
SELECT *
INTO [TempMigrationHistory]
FROM [__MigrationHistory]
DROP TABLE [__MigrationHistory]
EXEC sp_rename 'TempMigrationHistory', '__MigrationHistory'
How would I get this working in mySQL ?