Hi!

>>>>> "Thomas" == Thomas Birchmire <[EMAIL PROTECTED]> writes:

Thomas> I tried putting --local-infile in my server script and local-infile in the
Thomas> /etc/my.cnf file.  I also placed a number or logging cammands in the startup
Thomas> script hoping to catch lower level messages.  There appears to be little
Thomas> effect on anything.
Thomas> Regards, Tom Birchmire
Thomas> < -- script and log stuff 
Thomas> Startup Script using --local-infile 


Thomas> #! /bin/sh
Thomas> cd /usr/local/mysql/
Thomas> ./bin/safe_mysqld --user=mysql --local-infile --warnings --log-long-format  &

Thomas> MYSQL Session with error


mysql> select * from pet
-> ;
Thomas> +----------+--------+---------+------+------------+-------+
Thomas> | name     | owner  | species | sex  | birth      | death |
Thomas> +----------+--------+---------+------+------------+-------+
Thomas> | Puffball | Diane  | hamster | f    | 1999-03-30 | NULL  |
Thomas> | Fluffy   | Harold | cat     | f    | 1993-02-04 | NULL  |
Thomas> +----------+--------+---------+------+------------+-------+
Thomas> 2 rows in set (0.03 sec)

mysql> load data local infile "/home/tomb01/data/pet.txt" into table pet;
Thomas> ERROR 1148: The used command is not allowed with this MySQL version
mysql> quit

You also have to start 'mysql' with --local-infile for this to work.

Regards,
Monty

---------------------------------------------------------------------
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