stchong Posted May 17, 2003 Share Posted May 17, 2003 my mysql is 4.0.12. I am using mysqld-max-nt... I have check for information in mysql\'s web site,but still can not solve the problem! still can not use load data local infile... every time it shows me the same error message: ERROR 1148: The used command is not allowed with this MySQL version I have tried two ways 1. in the command line of mysql mysql --local-infile=1 -u root -p I also tried..... mysql --local-infile=0 -u root -p but all can not 2. modify the my.ini set-variable=local-infile=1 I also tried set-variable=local-infile=0 but all still can not so what\'t the problem???? Help me, please... Tahnks a lot Link to comment https://forums.phpfreaks.com/topic/475-problem-with-using-load-data-local-infile-in-mys/ Share on other sites More sharing options...
rledieu Posted May 17, 2003 Share Posted May 17, 2003 I have found that you need to include information about the delimiters if you are working in a Windows environment. I use TABs to delinieate fields and then I use the following command: load data infile \'d:/test.txt\' into table test fields terminated by \'t\' lines terminated by \'rn\'; Notice the need to specify the Carriage Return, New Line combination. Without it this doesn\'twork. Alternatively have you tried load data local infile ... ? Link to comment https://forums.phpfreaks.com/topic/475-problem-with-using-load-data-local-infile-in-mys/#findComment-1608 Share on other sites More sharing options...
shivabharat Posted May 19, 2003 Share Posted May 19, 2003 If u have trouble using the command u can try this tool found @ sqlyog www.sqlyog.com Its a nice GUI tool for windows!! Link to comment https://forums.phpfreaks.com/topic/475-problem-with-using-load-data-local-infile-in-mys/#findComment-1627 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.