{"author_url":"https://blog.hatena.ne.jp/noriboz/","width":"100%","blog_title":"\u6c17\u697d\u306b\u958b\u767a\u30e1\u30e2","categories":["MySQL"],"version":"1.0","provider_url":"https://hatena.blog","image_url":null,"published":"2014-05-14 14:48:10","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnoriboz.hatenadiary.com%2Fentry%2F20140514%2F1400046490\" title=\"ERROR 1148 (42000): The used command is not allowed with this MySQL version - \u6c17\u697d\u306b\u958b\u767a\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"MySQL\u306bcsv\u30d5\u30a1\u30a4\u30eb\u3092\u30a4\u30f3\u30dd\u30fc\u30c8\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u4ee5\u4e0b\u306e\u30a8\u30e9\u30fc\u304c\u8868\u793a\u3055\u308c\u307e\u3057\u305f\u3002 mysql> load data local infile '/tmp/(csv\u30d5\u30a1\u30a4\u30eb\u540d)' into table (\u30c6\u30fc\u30d6\u30eb\u540d) fields terminated by ','; ERROR 1148 (42000): The used command is not allowed with this MySQL version mysql\u30b3\u30de\u30f3\u30c9\u306e\u5b9f\u884c\u6642\u3001\u300c--local_infile=1\u300d\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u8ffd\u52a0\u3057local\u3092\u6709\u52b9\u306b\u3057\u3066\u304b\u3089load\u3092\u5b9f\u884c\u3059\u308b\u3068\u30a4\u30f3\u30dd\u30fc\u30c8\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 $ mysql -\u2026","author_name":"noriboz","height":"190","url":"https://noriboz.hatenadiary.com/entry/20140514/1400046490","type":"rich","provider_name":"Hatena Blog","blog_url":"https://noriboz.hatenadiary.com/","title":"ERROR 1148 (42000): The used command is not allowed with this MySQL version"}