Started working on converting the program into a DBC editor rather than a MySQL editor. I can now read in the full spell DBC successfully.