On Friday 13 December 2002 04:47, Charles Mabbott wrote: > I have some Access pages hooked to web, but a newbe with this [mysql] on > laptop. Running NT, windows office '98. I have found some stuff going > through tutorial, which I am impressed at how much is really working > right out of the book. I am sure has been found..... but > > I was not able to get [following] to work: > >LOAD DATA LOCAL INFILE "pet.txt" INTO TABLE pet; {tutorial} "not > > supported"
Add local-infile=1 into [mysqld] and [mysql] sections of my.cnf(my.ini) or start MySQL server and client with --local-infile option: http://www.mysql.com/doc/en/LOAD_DATA_LOCAL.html > > >LOAD DATA INFILE "c:\\mysql\\pet.txt" INTO TABLE pet; > > works fine and the '\' is a delimiter, so must be repeated. -- 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 --------------------------------------------------------------------- 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