[Support] mysql load data infile problem

Markus Doeve hs at doeve.de
Fri May 25 13:34:08 CEST 2007


neuer tag, frischer kopf, ich antworte mir mal selbst :)

statt 'load data infile' nehme man
'load data LOCAL infile'

und alles flutscht.

cu markus


Markus Doeve schrieb:
> [Bitte auf dieser Liste immer mit Reply-To-All/Antworten-an-alle antworten
> und ggf. den ursprünglichen Fragesteller explizit mit in die Antwort 
> aufnehmen.]
> 
> hi,
> 
> ich komme irgendwie nicht weiter ...
> ich möchte eine csv-datei in eine mysql-db schieben.
> bekomme aber bei dem befehl 'load data infile' immer ein access denied ..
> 
> [schnipsel]
> ###########################################################
> xyz00-user at h02: mysql -u xyz00_user --password="passwort"
> Welcome to the MySQL monitor.  Commands end with ; or \g.
> Your MySQL connection id is 3507204 to server version: 
> 4.0.24_Debian-10sarge2-lo g
> 
> Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
> 
> 
> mysql> use xyz00_db;
> Reading table information for completion of table and column names
> You can turn off this feature to get a quicker startup with -A
> 
> Database changed
> mysql> load data infile 'textfile.csv'
>     -> into table import;
> ERROR 1045: Access denied for user: 'xyz00_user@%' (Using password: YES)
> mysql>
> ###############################################################
> [/schnipsel]
> 
> fehlen mir irgendwelche rechte? mach ich was falsch? gibt es einen 
> alternativen weg den man automatisieren kann?
> 
> danke im voraus
> markus
> _______________________________________________
> 
> Support mailing list
> https://lists.hostsharing.net/mailman/listinfo/support
> 


More information about the Support mailing list