Python is the answer.
With pymysql and numpy, you could.
Use numpy.genfromtxt() to convert CSV to a numpy array. From there, split the table using python code, and have it base it on the name of the column.
This code would probably take maybe an hour or so to make, so if the dataset is really big, it might be worth it.
After you get the seperated numpy arrays, use pymysql to put them into phpmyadmin(like you are using currently).
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…