Kann nicht erstellen / in Datei schreiben (Errcode: 22)

Ganz neu in SQL Ich möchte einige Daten aus einer MySQL-Datenbank in eine CSV-Datei exportieren. Ich arbeite vor Ort (localhost).

Hier ist meine SQL-Anweisung:

SELECT DISTINCT *
INTO
OUTFILE 'C:\Users\Martin\Downloads\result.csv'
FROM provider, location, provider_has_location
WHERE 
provider.idprovider = provider_has_location.provider_idprovider AND
location.idLocation = provider_has_location.location_idLocation
LIMIT 20

MySQL gibt den folgenden Fehler zurück:

Kann nicht erstellen / in Datei 'C: UsersMartinDownloads esult.csv' schreiben (Fehlercode: 22)

Danke für Ihre Hilfe.

Antworten auf die Frage(2)

Ihre Antwort auf die Frage