Is there a way to import multiple csv files at the same time into a MySQL database? Some sort of batch import?
I\'m on Mac OSX running a MAMP server.
I have
You could use a shell script to loop through the files (this one assumes they're in the current directory):
#!/bin/bash for f in *.csv do mysql -e "load data infile '"$f"' into table my_table" -u username --password=your_password my_database done