Hvis filen er tilgængelig via en URL, kan du gøre: curl 'https://whatever' | mysql -u username -p db_name