Page 1 of 1

#1148 - The used command is not allowed with this MySQL vers

Posted: 2005-04-11 16:00
by druschl
Hallo Zusammen.

Habe einen Strato RootServer, u.a. mit MYSQL 4.0.15.
Wenn ich mit PHPMyAdmin (Vers. 2.6.1) eine .cvs Datei hochladen möchte, bekomme ich folgende Fehlermeldung:

SQL-Befehl:

LOAD DATA LOCAL INFILE '/srv/www/htdocs/confixx/tmp/phpqBkQxe' INTO TABLE `lief_dummy` FIELDS TERMINATED BY ';' ENCLOSED BY '"' ESCAPED BY '\' LINES TERMINATED BY 'rn'(`art_nummer` , `bezeichnung` , `preis_ek` , `preis_vk` , `seite` , `einheit` )

MySQL meldet:

#1148 - The used command is not allowed with this MySQL version



Das temporäre File "phpqBkQxe" ist im tmp Verzeichniss auch kurz zu sehen, aber sobald die Fehlermeldung kommt ist sie wieder weg.
Also schieß ich Schreibrecht-Probleme mal aus.

Wie bekomme ich das gebacken, damit dies funktioniert?

Gruss
Thomas

Re: #1148 - The used command is not allowed with this MySQL vers

Posted: 2005-04-11 20:09
by oxygen
Wahrscheinlich ist LOAD DATA INFILE deaktiviert (zu recht).

#1148 - The used command is not allowed with this MySQL vers

Posted: 2005-04-12 10:27
by druschl
und wie kann ich es bei meiner MySql-Version aktivieren ?

Gruss
Thomas

Re: #1148 - The used command is not allowed with this MySQL vers

Posted: 2005-04-12 11:24
by Joe User
Indem Du MySQL mit den entsprechenden Optionen rekompilierst...

Re: #1148 - The used command is not allowed with this MySQL vers

Posted: 2005-04-12 11:32
by duergner
Was man aber auf Grund der gigantischen Sicherheitslücke die man dann aufmacht nicht wirklich haben will.

#1148 - The used command is not allowed with this MySQL vers

Posted: 2005-04-13 11:06
by druschl
Wie bekomme ich sonst noch eine .csv in eine DB ?

Re: #1148 - The used command is not allowed with this MySQL

Posted: 2005-04-13 12:17
by Joe User
druschl wrote:Wie bekomme ich sonst noch eine .csv in eine DB ?
phpMyAdmin

#1148 - The used command is not allowed with this MySQL vers

Posted: 2005-04-14 08:27
by druschl
Und wie soll ich eine .csv mit phpMyAdmin in die DB bekommen, welches folgendem entsricht wenn LOAD DATA LOCAL INFILE deaktiviert ist ???

LOAD DATA LOCAL INFILE '/srv/www/htdocs/confixx/tmp/phpqBkQxe' INTO TABLE `lief_dummy` FIELDS TERMINATED BY ';' ENCLOSED BY '"' ESCAPED BY '\' LINES TERMINATED BY 'rn'(`art_nummer` , `bezeichnung` , `preis_ek` , `preis_vk` , `seite` , `einheit` )


Gruss
Thomas

Re: #1148 - The used command is not allowed with this MySQL vers

Posted: 2005-04-14 09:40
by Joe User
Manual lesen, oder aus dem .csv einen "normalen" Dump machen...

#1148 - The used command is not allowed with this MySQL vers

Posted: 2005-04-14 10:32
by druschl
Sprüche helfen mir nicht weiter. Sonst würde ich hier nicht posten.
Gib mir ein kongretes Beispiel, wie ich einen Dump mache.

Re: #1148 - The used command is not allowed with this MySQL vers

Posted: 2005-04-14 11:20
by tcs
http://www.google.at/search?hl=de&q=eig ... uche&meta=

Und der Vorschaubutton, die Forenregeln etc.

Cheers

tcs