{"id":32,"date":"2011-01-27T14:14:09","date_gmt":"2011-01-27T05:14:09","guid":{"rendered":"http:\/\/chitora.com\/?p=32"},"modified":"2011-02-04T00:16:20","modified_gmt":"2011-02-03T15:16:20","slug":"mysql-c-api","status":"publish","type":"post","link":"https:\/\/www.chitora.com\/blog\/?p=32","title":{"rendered":"MySQL C API"},"content":{"rendered":"<p><a href=\"http:\/\/dev.mysql.com\/doc\/refman\/4.1\/ja\/c.html\" target=\"_blank\">MySQL C API<\/a><\/p>\n<p>\u30e6\u30fc\u30b6\u30fc\u7ba1\u7406\u306fMySQL\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3067\u3084\u3063\u3066\u307f\u3088\u3046\u3068\u601d\u3046\u3002\u3044\u3064\u3082\u306e\u3088\u3046\u306b\u30e9\u30c3\u30d4\u30f3\u30b0\u30af\u30e9\u30b9\u3092\u4f5c\u3063\u305f\u3089\uff0cMYMYSQL\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u3002\u307e\u3044\u307e\u3044\u3002<\/p>\n<p>\u307e\u305aMySQL\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u4f5c\u6210\u3092\u5fd8\u308c\u3084\u3059\u3044\uff08mediawiki\u3068wordpress\u306e\uff12\u56de\u306e\u307f\u4f5c\u6210\uff09\u306e\u3067\u30e1\u30e2\u3002<\/p>\n<pre>$ mysql -u root -p\r\nmysql&gt; CREATE DATABASE dbname;\r\nmysql&gt; GRANT ALL PRIVILEGES ON dbname.* TO user@localhost\r\n    -&gt; IDENTIFIED BY \"password\";\r\nmysql&gt; FLUSH PRIVILEGES;\r\nmysql&gt; EXIT<\/pre>\n<p><a href=\"http:\/\/qune.cside.com\/archives\/000602.html\" target=\"_blank\">\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30fb\u30e1\u30e2 &#8211; MySQL \u306e C API \u3092\u4f7f\u3063\u3066\u307f\u308b<\/a>\u3092\u53c2\u8003\u306bMYMYSQL\u30af\u30e9\u30b9\u3092\u4f5c\u6210\u3002\u30c6\u30fc\u30d6\u30eb\u304c\u3072\u3068\u3064\u3082\u306a\u3044\u306e\u3067mysql_query\u304c\u30a8\u30e9\u30fc\u7d42\u4e86\u3002\u305d\u3057\u3066\u30c6\u30fc\u30d6\u30eb\u306e\u4f5c\u308a\u65b9\u3082\u5206\u304b\u3089\u306a\u3044\u3002MySQL\u3068\u3044\u3046\u304b\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u3053\u3068\u304c\u4f55\u3072\u3068\u3064\u5206\u304b\u3089\u306a\u3044\u306e\u3067\u9053\u306e\u308a\u306f\u9577\u3044\u3002<\/p>\n<p>BHACCOUNTS\u30af\u30e9\u30b9\u3092\u4f5c\u6210\u3002\u3053\u308c\u306fhas-a\u95a2\u4fc2\u3060\u306a\uff0c\u3068\u3044\u3046\u3053\u3068\u3067MYMYSQL\u30af\u30e9\u30b9\u3092\u30e1\u30f3\u30d0\u30fc\u306b\u6301\u305f\u305b\u305f\u3002MYMYSQL\u306bCREATE TABLE\u3059\u308b\u95a2\u6570\u3068INSERT INTO\u3059\u308b\u95a2\u6570\u3092\u4f5c\u3063\u3066\uff0cBHACCOUNTS\u30af\u30e9\u30b9\u306eLogin\u95a2\u6570\u304b\u3089\u547c\u3093\u3067\uff0c\u30ed\u30b0\u30a4\u30f3\u51e6\u7406\u306e\u9aa8\u7d44\u307f\u304c\u3067\u304d\u3066\u304d\u305f\u3002XML-RPC\u3068\u3064\u306a\u3052\u308c\u3070\uff0cBH\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u304b\u3089\u30ed\u30b0\u30a4\u30f3\uff0f\u30e6\u30fc\u30b6\u30fc\u767b\u9332\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308b\u3002<\/p>\n<p>SQL\u306e\u6587\u6cd5\u306f\u601d\u3063\u305f\u3088\u308a\u96e3\u3057\u304f\u306a\u304b\u3063\u305f\u3002C++\u304b\u3089\u547c\u3073\u51fa\u3059\u969b\u306e\uff0c\u3082\u3063\u3068\u30b8\u30a7\u30cd\u30ea\u30c3\u30af\u306a\u4ed5\u7d44\u307f\u3092\u8003\u3048\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\u3002\u73fe\u72b6\u306f\uff0c\u6ce5\u81ed\u3044\u6587\u5b57\u5217\u64cd\u4f5c\u3070\u304b\u308a\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>MySQL C API \u30e6\u30fc\u30b6\u30fc\u7ba1\u7406\u306fMySQL\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3067\u3084\u3063\u3066\u307f\u3088\u3046\u3068\u601d\u3046\u3002\u3044\u3064\u3082\u306e\u3088\u3046\u306b\u30e9\u30c3\u30d4\u30f3\u30b0\u30af\u30e9\u30b9\u3092\u4f5c\u3063\u305f\u3089\uff0cMYMYSQL\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u3002\u307e\u3044\u307e\u3044\u3002 \u307e\u305aMySQL\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u4f5c\u6210\u3092\u5fd8\u308c\u3084\u3059\u3044\uff08medi [&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,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-32","post","type-post","status-publish","format-standard","hentry","category-bh"],"_links":{"self":[{"href":"https:\/\/www.chitora.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/32","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.chitora.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.chitora.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.chitora.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.chitora.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=32"}],"version-history":[{"count":7,"href":"https:\/\/www.chitora.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/32\/revisions"}],"predecessor-version":[{"id":34,"href":"https:\/\/www.chitora.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/32\/revisions\/34"}],"wp:attachment":[{"href":"https:\/\/www.chitora.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=32"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chitora.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=32"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chitora.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=32"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}