Data mining program now saves to a .dat file which will be used by the mysql C program for populating the database.