#1148 - The used command is not allowed with this MySQL vers
#1148 - The used command is not allowed with this MySQL vers
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
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
Wahrscheinlich ist LOAD DATA INFILE deaktiviert (zu recht).
#1148 - The used command is not allowed with this MySQL vers
und wie kann ich es bei meiner MySql-Version aktivieren ?
Gruss
Thomas
Gruss
Thomas
Re: #1148 - The used command is not allowed with this MySQL vers
Indem Du MySQL mit den entsprechenden Optionen rekompilierst...
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Re: #1148 - The used command is not allowed with this MySQL vers
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
Wie bekomme ich sonst noch eine .csv in eine DB ?
Re: #1148 - The used command is not allowed with this MySQL
phpMyAdmindruschl wrote:Wie bekomme ich sonst noch eine .csv in eine DB ?
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
#1148 - The used command is not allowed with this MySQL vers
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
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
Manual lesen, oder aus dem .csv einen "normalen" Dump machen...
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
#1148 - The used command is not allowed with this MySQL vers
Sprüche helfen mir nicht weiter. Sonst würde ich hier nicht posten.
Gib mir ein kongretes Beispiel, wie ich einen Dump mache.
Gib mir ein kongretes Beispiel, wie ich einen Dump mache.
Re: #1148 - The used command is not allowed with this MySQL vers
http://www.google.at/search?hl=de&q=eig ... uche&meta=
Und der Vorschaubutton, die Forenregeln etc.
Cheers
tcs
Und der Vorschaubutton, die Forenregeln etc.
Cheers
tcs