我有一个文本文件 logfile.txt:
2013-01-01 12:01:00 ip:11223344 region: country:US bandwidth:123
2013-01-01 12:01:55 ip:22222 region: country:UK bandwidth:123
2013-01-01 12:03:12 ip:34566 region: country:US bandwidth:123
2013-01-01 12:07:08 ip:123123 region: country:US bandwidth:123
如何将其插入到 mysql 中,这些列:
ID | IP_client | country | bandwidth