Problem A user gets the following exception: Can't create the table COUNTRY. (err no: 150) Cause The COUNTRY_GEO_IP table has a foreign key to COUNTRY. Solution Drop COUNTRY_GEO_IP. Create COUNTRY. Create COUNTRY_GEO_IP.