I'm doing some work with databases, and I want to play around with the ability to load file content into a table. Currently I'm using a host server for a website, and using phpmyadmin to interact with MySQL. My questions is where do you save the file you want to load if you aren't using a local host? Everything I've read deals with local hosting, but what if I have a file that I have saved on an external server? I thought maybe something like LOAD DATA INFILE 'url to file' INTO TABLE [table name]
would work, but instead I get an error.
Do I need to save this locally on my computer and then have it somehow read the file from a local path? I'm not sure this is normally done.