Home / Databases / MySQL / What causes an error 150 when loading data into a mysql database?
What causes an error 150 when loading data into a mysql database?
Last updated: 07/03/2009
This is usually a problem with constraints. Perhaps the tables aren't being loaded in the right order, etc. Anyway, I've found it best / easiest to just turn off contstraint checking. Add this line to your load script, or on the mysql command line: