I have numerous (over 2000) CSV files all with different names but they all have the same columns of data. I have a table called cc_trans all setup to accept the import of the files. How can I import these all at once? I need it to ignore the first 3 lines of each file. I am using MySQL 5.6.
I tried using the following code in a batch file but mysqlimport wants to create tables based on the filenames of the CSV files. I have a table all created so this won't work.
FOR %%I in (*.csv) DO mysqlimport --local -u root -p[password] [DB_NAME] %%I
PAUSE
Any insight how to do this from command line would be much appreciated. Also a GUI tool if anyone knows of one would be okay as well.
I tried using the following code in a batch file but mysqlimport wants to create tables based on the filenames of the CSV files. I have a table all created so this won't work.
FOR %%I in (*.csv) DO mysqlimport --local -u root -p[password] [DB_NAME] %%I
PAUSE
Any insight how to do this from command line would be much appreciated. Also a GUI tool if anyone knows of one would be okay as well.