My Oracle Support Banner

Importing phpMyAdmin Dump Leads To: "ERROR 1005 (HY000) at line X: Can't create table 'xxx' (errno: 150)" (Doc ID 1681358.1)

Last updated on MARCH 29, 2020

Applies to:

MySQL Server - Version 5.1 and later
Information in this document applies to any platform.

Symptoms

When reloading a phpMyAdmin dumpfile it stops with error about foreign keys:

ERROR 1005 (HY000) at line 2825: Can't create table 't1' (errno: 150)

Changes

Either:

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.