Was this the first time that you faced such problem? Is SQLyog hanging everytime you try to import the large table, if yes does killing the process using the task manager delete the connections stored in the ini-file?
Also please let us know the SQLyog version that you are using.