[mysql] vage foutmelding

Pagina: 1
Acties:
  • 32 views sinds 30-01-2008

  • BKJ
  • Registratie: April 2000
  • Laatst online: 07-09 12:42
LOAD DATA LOCAL INFILE "pet.txt" INTO TABLE pet;
ERROR 1148: The used command is not allowed with this MySQL version


vaag? Wat is dan het commando?

Kamer huren


  • Grum
  • Registratie: Juni 2001
  • Niet online
Hoe duidelijk kan je error zijn ?

Het commando werkt niet in de huidige versie van mysql die jij/je hoster draait.

Upgraden!

  • BKJ
  • Registratie: April 2000
  • Laatst online: 07-09 12:42
+-----------+----------------+
| VERSION() | CURRENT_DATE |
+-----------+---------------+
| 3.23.49 | 2002-03-03 |
+-----------+---------------+

is dit oud?

Dacht het niet:

Versions

Stable
MySQL 3.23.49a
MySQL-Max 3.23.49a

Kamer huren


  • Grum
  • Registratie: Juni 2001
  • Niet online
ok dan niet upgraden .. maar downgraden! :P

  • Grum
  • Registratie: Juni 2001
  • Niet online
en uit de manual met 1 sec google werk:

In MySQL 3.23.49 and MySQL 4.0.2 LOCAL will only work if you have not started mysqld with --local-infile=0 or if you have not enabled your client to support LOCAL. See section 4.2.4 Security issues with LOAD DATA LOCAL.


http://www.google.com/search?sourceid=navclient&q=The+used+command+is+not+allowed+with+this+MySQL+version+LOAD
http://www.mysql.com/doc/L/O/LOAD_DATA.html

  • Bigs
  • Registratie: Mei 2000
  • Niet online
Kun je niet gewoon iets doen van @"file.txt"? (weet zo niet zeker of MySQL dat ondersteunt)

  • dusty
  • Registratie: Mei 2000
  • Laatst online: 21-02 00:06

dusty

Celebrate Life!

*gaap*

Back In Black!
"Je moet haar alleen aan de ketting leggen" - MueR

Pagina: 1

Dit topic is gesloten.