Mertens,
Wednesday, August 28, 2002, 10:54:12 AM, you wrote:

MB> I was following the example in the manual (the menagerie database) but I
MB> can not load a file into the table, i get the following error:
MB> mysql> LOAD DATA LOCAL INFILE "~/testmysql/pet.txt" INTO TABLE pet;
MB> ERROR 1148: The used command is not allowed with this MySQL version

MB> I searched the archives and found that a variable "local-infile=1" must
MB> be set for the client, but I can not find how to do that.

MB> Can somebody help me with this please?

MB> I'm using mysql version 3.23.49 on a Red Hat Linux 7.3.

Put into my.cnf file :
[mysql]
local-infile=1

or start mysql client with --local-infile=1 option.





-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Egor Egorov
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.com



---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to