I work with SQL Server and haven't had such an issue adding a FK to a table like I am having with MySQL. The datatypes match up, the foreign key table contains 300K rows, and is taking forever to execute and eventually times out. Am I doing something wrong? I did this in Workbench and Toad, same thing happens.
The relationship is a one to one, with the User table primary key ID being used a a FK for the District Admins table primary key ID.
I dont know how to find the MySQL version, and can't tell you the amount of memory.