[mysql] import from file data

로컬일 경우 :
 load data infile '파일명' into table 테이블명

리모트일 경우 :
조건 : 서버와 클라이언트 모두 local-infile옵션 on 상태
 mysql> show variables like 'local%';
 load data local infile '파일명' into table 테이블명
크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기

Posted by ⓒ쟁이™

2009/08/05 15:38 2009/08/05 15:38
, , ,
Response
No Trackback , No Comment
RSS :
http://funix.net/rss/response/50


Archives

Recent Trackbacks

129

94

-14 days

today : 114

Creative Commons License

이 저작물은 크리에이티브 커먼즈 코리아 저작자표시-비영리-변경금지 2.0 대한민국 라이센스에 따라 이용하실 수 있습니다.