"adrian Greeman" <[EMAIL PROTECTED]> wrote:
> I just tried to load edited data from a text file separated by |
> characters into a table in a simple data base
> 
> I was using PhpMyAdmin version 2.5.6 and MySQL 4.0.18 running on Windows
> XP  - I thought it was all set up right and configured properly
> 
> - and earlier was able to populate the table with some initial data. Now
> I was trying to add more from a simple text file using the
> LOAD DATA LOCAL INFILE 'C:\\WINDOWS\\TEMP\\php3E.tmp' INTO TABLE
> `headlines` FIELDS TERMINATED BY '|' ENCLOSED BY '"' ESCAPED BY '\\'
> LINES TERMINATED BY '\r\n'
> 
> instruction which phpMyAdmin creates.
> 
> It refused to do it and returned the error message:
> 
> 
> #1148 - The used command is not allowed with this MySQL version
> 
> I feel there must be a simple explanation
> 

LOAD DATA LOCAL should be enabled for client and for the server:
         http://dev.mysql.com/doc/mysql/en/LOAD_DATA_LOCAL.html


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





-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to