I am looking to import a local .csv file into my online mysql database.
I have already used phpmyadmin to simply "import" /csv files, but I would like a more automated method to do this.
I thought a .bat file could work, but I am not very familiar with the syntax.
I am also considering a stored proc. since I am comfortable with SQL, although I am unfamiliar with the syntax to get the .csv file.
What are your recommendations?
Ideally, this would eventually become a scheduled job, although it is not the priority for the moment.
The job will be a recurring event, possibly with different .csv filenames and/or different db table names.
Thanks.