{"id":249,"date":"2013-01-26T14:09:43","date_gmt":"2013-01-26T05:09:43","guid":{"rendered":"http:\/\/blog.tanitanin.net\/?p=249"},"modified":"2013-01-26T14:09:43","modified_gmt":"2013-01-26T05:09:43","slug":"django1-4-3%e3%82%92cygwinxampp%e3%81%a7%e5%88%a9%e7%94%a8%e3%81%99%e3%82%8b%e3%81%9f%e3%82%81%e3%81%ae%e3%83%a1%e3%83%a2","status":"publish","type":"post","link":"https:\/\/blog.tanitanin.net\/?p=249","title":{"rendered":"Django1.4.3\u3092Cygwin+XAMPP\u3067\u5229\u7528\u3059\u308b\u305f\u3081\u306e\u30e1\u30e2"},"content":{"rendered":"<p>Django 1.4.3\u3092Cygwin\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3068\u304d\u306e\u30e1\u30e2<\/p>\n<p>manage.py syncdb\u3067\u306e\u30a8\u30e9\u30fc\u306e\u5bfe\u51e6<\/p>\n<p>connection error\u306e\u3068\u304d\u306fprotocol\u307e\u305f\u306f\u30db\u30b9\u30c8\u304c\u9055\u3046\u53ef\u80fd\u6027\u3042\u308a\uff0e<br \/>\nno module\u3068\u8a00\u308f\u308c\u305f\u5834\u5408\u306fmysql-python\u304c\u5165\u3063\u3066\u3044\u306a\u3044\u53ef\u80fd\u6027\u304c\u3042\u308b\uff0e<\/p>\n<p>Cygwin\u304b\u3089XAMPP\u306eMySQL\u306b\u3064\u306a\u3052\u308b\u3068\u304d\u306f&#8211;protocol=TCP\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u3064\u3051\u308b\u5fc5\u8981\u304c\u3042\u308b\uff0e<br \/>\n\u6bce\u56de\u3064\u3051\u308b\u306e\u304c\u9762\u5012\u306a\u3089\u30db\u30fc\u30e0\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b.my.cnf\u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u3063\u3066<br \/>\n [client]<br \/>\n protocol=TCP<br \/>\n\u3068\u66f8\u3044\u3066\u304a\u304f<\/p>\n<p>Cygwin\u304b\u3089MySQL\u306b\u3064\u306a\u3052\u308b\u3068\u304d\u306f\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30db\u30b9\u30c8\u540d\u306flocalhost\u3067\u306a\u304f127.0.0.1\u306b\u3057\u306a\u3044\u3068\u3044\u3051\u306a\u3044\uff0e<\/p>\n<p>mysql-python\u304c\u5165\u3063\u3066\u3044\u306a\u3044\u5834\u5408\u306feasy_install\u306a\u3069\u3067\u5165\u308c\u308b<br \/>\n easy_install mysql-python<br \/>\nmingw\u306a\u3069\u3092\u5165\u308c\u3066\u3044\u308b\u3068gcc\u3067\u30a8\u30e9\u30fc\u3092\u5410\u304f\u307f\u305f\u3044\u306a\u306e\u3067\/usr\/bin\u306b\u30d1\u30b9\u3092\u901a\u3057\u3066cygwin\u306b\u5143\u304b\u3089\u5165\u3063\u3066\u3044\u308bgcc\u3092\u4f7f\u3046\u3088\u3046\u306b\u3059\u308b\uff0e<\/p>\n<p>\u53c2\u8003URL<br \/>\nhttp:\/\/codezine.jp\/article\/detail\/4065?p=4<br \/>\nhttp:\/\/d.hatena.ne.jp\/mokehehe\/20071013\/mysql<br \/>\nhttp:\/\/blog.layer8.sh\/ja\/2011\/12\/16\/django%E3%81%AEsyncdb%E3%81%A7%E3%80%8Cerror-loading-mysqldb-module-no-module-named-mysqldb%E3%80%8D%E3%81%A8%E5%87%BA%E3%82%8B%E6%99%82%E3%81%AE%E5%AF%BE\/<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Django 1.4.3\u3092Cygwin\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3068\u304d\u306e\u30e1\u30e2 manage.py syncdb\u3067\u306e\u30a8\u30e9\u30fc\u306e\u5bfe\u51e6 connection error\u306e\u3068\u304d\u306fprotocol\u307e\u305f\u306f\u30db\u30b9\u30c8\u304c\u9055\u3046\u53ef\u80fd\u6027\u3042\u308a\uff0e no modu [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[64],"tags":[],"class_list":["post-249","post","type-post","status-publish","format-standard","hentry","category-64"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5lSjy-41","jetpack-related-posts":[{"id":663,"url":"https:\/\/blog.tanitanin.net\/?p=663","url_meta":{"origin":249,"position":0},"title":"Cygwin\u3067Python3\u7528\u306epip\u3092\u5165\u308c\u308b","author":"tanitanin","date":"2014\u5e7410\u67081\u65e5","format":false,"excerpt":"Cygwin\u3067\u306fpython\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u30672.7\u306b\u306a\u3063\u3066\u3044\u307e\u3059\uff0e \u306a\u306e\u3067\uff0c\u305d\u306e\u307e\u307eeas\u2026","rel":"","context":"\u672a\u5206\u985e","block_context":{"text":"\u672a\u5206\u985e","link":"https:\/\/blog.tanitanin.net\/?cat=1"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":783,"url":"https:\/\/blog.tanitanin.net\/?p=783","url_meta":{"origin":249,"position":1},"title":"mysql \u30b3\u30de\u30f3\u30c9\u306e\u5165\u529b\u5c65\u6b74\u3092\u6d88\u3059","author":"tanitanin","date":"2014\u5e7412\u670811\u65e5","format":false,"excerpt":"CentOS 7 \u306b MariaDB \u3092\u5165\u308c\u308b\u3068\uff0c\u306f\u3058\u3081\u306broot\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u8a2d\u5b9a\u3059\u308b\u305f\u3081\u306bmys\u2026","rel":"","context":"\u672a\u5206\u985e","block_context":{"text":"\u672a\u5206\u985e","link":"https:\/\/blog.tanitanin.net\/?cat=1"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":519,"url":"https:\/\/blog.tanitanin.net\/?p=519","url_meta":{"origin":249,"position":2},"title":"git-completion\u3092\u5165\u308c\u305f","author":"tanitanin","date":"2014\u5e748\u67084\u65e5","format":false,"excerpt":"git-completion\u3068\u3044\u3046git\u306e\u62e1\u5f35\u30d7\u30e9\u30b0\u30a4\u30f3\uff1f\u304c\u3068\u3066\u3082\u4fbf\u5229\u3068\u3044\u3046\u30a6\u30ef\u30b5\u3092\u805e\u3044\u305f\u306e\u3067\uff0c \u65e9\u2026","rel":"","context":"\u672a\u5206\u985e","block_context":{"text":"\u672a\u5206\u985e","link":"https:\/\/blog.tanitanin.net\/?cat=1"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":263,"url":"https:\/\/blog.tanitanin.net\/?p=263","url_meta":{"origin":249,"position":3},"title":"Cygwin\u3067Ruby on Rails\u306e\u74b0\u5883\u3065\u304f\u308a","author":"tanitanin","date":"2013\u5e742\u67082\u65e5","format":false,"excerpt":"Web\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u52c9\u5f37\u306b\u3068Ruby on Rails\u3092\u3044\u3058\u3063\u3066\u307f\u308b\uff0e \u74b0\u5883\u306fCygwin + \u2026","rel":"","context":"Rails","block_context":{"text":"Rails","link":"https:\/\/blog.tanitanin.net\/?cat=73"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":500,"url":"https:\/\/blog.tanitanin.net\/?p=500","url_meta":{"origin":249,"position":4},"title":"Cygwin64\u3067ruby2.0\u4ee5\u4e0b\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3068\u304d\u306e\u6ce8\u610f","author":"tanitanin","date":"2014\u5e742\u67086\u65e5","format":false,"excerpt":"Cygwin\u304c\u6b63\u5f0f\u306b64bit\u5bfe\u5fdc\u7248\u3092\u30ea\u30ea\u30fc\u30b9\u3057\u305f\u306e\u3067Cygwin64\u4e0a\u3067ruby-2.0.0\u3092\u30a4\u30f3\u2026","rel":"","context":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0","block_context":{"text":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0","link":"https:\/\/blog.tanitanin.net\/?cat=64"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":852,"url":"https:\/\/blog.tanitanin.net\/?p=852","url_meta":{"origin":249,"position":5},"title":"Python 3 \u3067 easy_install \u3068 pip \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b","author":"tanitanin","date":"2015\u5e744\u67085\u65e5","format":false,"excerpt":"Python3\u7cfb\u3067easy_install\u30b3\u30de\u30f3\u30c9\u3092\u5165\u308c\u308b\u305f\u3081\u306bez_setup.py\u3092\u4f7f\u3046\u3068\u30b7\u30f3\u30bf\u2026","rel":"","context":"\u672a\u5206\u985e","block_context":{"text":"\u672a\u5206\u985e","link":"https:\/\/blog.tanitanin.net\/?cat=1"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/blog.tanitanin.net\/index.php?rest_route=\/wp\/v2\/posts\/249","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.tanitanin.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.tanitanin.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.tanitanin.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.tanitanin.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=249"}],"version-history":[{"count":6,"href":"https:\/\/blog.tanitanin.net\/index.php?rest_route=\/wp\/v2\/posts\/249\/revisions"}],"predecessor-version":[{"id":261,"href":"https:\/\/blog.tanitanin.net\/index.php?rest_route=\/wp\/v2\/posts\/249\/revisions\/261"}],"wp:attachment":[{"href":"https:\/\/blog.tanitanin.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=249"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.tanitanin.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=249"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.tanitanin.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=249"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}