If you are using Toad for MySQL steps to import a file is as follows:
- create a table in MySQL with the same columns that of the file to be imported.
- now the table is created, goto > Tools > Import > Import Wizard
- now in the import wizard dialogue box, click Next.
- click Add File, browse and select the file to be imported.
- choose the correct dilimination.("," seperated for .csv file)
- click Next, check if the mapping is done properly.
- click Next, select the "A single existing table" radio button also select the table that to be mapped from the dropdown menu of Tables.
- Click next and finish the process.