Om filen är tillgänglig via en URL kan du göra: curl 'https://whatever' | mysql -u username -p db_name