{"id":5,"date":"2009-01-02T17:10:40","date_gmt":"2009-01-02T08:10:40","guid":{"rendered":"http:\/\/www.cosmetic-info.jp\/wordpress\/?p=5"},"modified":"2010-01-26T19:28:48","modified_gmt":"2010-01-26T10:28:48","slug":"mac-mini","status":"publish","type":"post","link":"https:\/\/blog.cfms.jp\/?p=5","title":{"rendered":"Mac mini \u30b5\u30fc\u30d0\u30fc\u69cb\u7bc9@Leopard (1)"},"content":{"rendered":"<h1>MySQL<\/h1>\n<p>Mac mini \u3067\u7c21\u6613\u30b5\u30fc\u30d0\u30fc\u3092\u69cb\u7bc9\u3057\u305f\u306e\u3067\u624b\u9806\u3092\u30e1\u30e2\u3063\u3068\u304f\u3002<\/p>\n<h2>MySQL \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<p>\u4eca\u56de\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u306e\u306f MySQL 5.0.67<\/p>\n<p>MySQL \u306e\u516c\u5f0f\u30b5\u30a4\u30c8\u304b\u3089 Mac OS X (package format) Mac OS X 10.5 (x86)\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3002<\/p>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30d1\u30c3\u30b1\u30fc\u30b8\uff08mysql-5.0.67-osx10.5-x86.pkg\uff09\u306a\u306e\u3067\u666e\u901a\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u308b\u3002<\/p>\n<p>\u7d42\u308f\u3063\u305f\u3089 MySQLStartupItem.pkg\uff08MySQL\u306e\u81ea\u52d5\u8d77\u52d5\u30b9\u30af\u30ea\u30d7\u30c8\uff09\u3082\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3002<\/p>\n<p>\u3093\u3067\u3082\u3063\u3066 Mac mini \u3092\u518d\u8d77\u52d5\uff08\u4f55\u304b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3089\u4f55\u3082\u8003\u3048\u305a\u518d\u8d77\u52d5\uff09\u3057\u305f\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u7d42\u308f\u308a\u3002<\/p>\n<h2>MySQL \u306e\u8a2d\u5b9a<\/h2>\n<p>\u30bf\u30fc\u30df\u30ca\u30eb\u3092\u8d77\u52d5\u3057\u3066<br \/>\n<code>\/usr\/local\/mysql\/bin\/mysqladmin -u root password <i>\u30d1\u30b9\u30ef\u30fc\u30c9<\/i><\/code><br \/>\n\u3092\u3084\u3063\u3066 root \u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u8a2d\u5b9a\u3059\u308b\u3002\u7d9a\u3044\u3066<br \/>\n<code>\/usr\/local\/mysql\/bin\/mysql -u root -p<\/code><br \/>\n\u3092\u5165\u529b\u3059\u308b\u3068\u3001<code>Enter password:<\/code> \u3068\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u805e\u304b\u308c\u308b\u304b\u3089\u3055\u3063\u304d\u8a2d\u5b9a\u3057\u305f\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b\u3059\u308b\u3002\u3053\u308c\u3067\u3061\u3083\u3093\u3068MySQL \u304c\u8d77\u52d5\u3057\u3066\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u305f\u3089<br \/>\n<code>exit;<\/code><br \/>\n\u3092\u5165\u529b\u3057\u3066 MySQL \u3068\u306e\u63a5\u7d9a\u3092\u7d42\u4e86\u3057\u3066\u304b\u3089\u3001\u30bf\u30fc\u30df\u30ca\u30eb\u3092\u7d42\u4e86\u3059\u308b\u3002<\/p>\n<p>Finder \u306e\u79fb\u52d5\u30e1\u30cb\u30e5\u30fc\u304b\u3089\u30d5\u30a9\u30eb\u30c0\u3078\u79fb\u52d5&#8230;\u3092\u4f7f\u3063\u3066<br \/>\n<code>\/usr\/local\/mysql\/support-files\/<\/code><br \/>\n\u3092\u958b\u304f\u3068 MySQL \u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u30b5\u30f3\u30d7\u30eb\u304c<\/p>\n<ul>\n<li>my-small.cnf\uff08\u642d\u8f09\u30e1\u30e2\u30ea64MB\u4ee5\u4e0b\uff09<\/li>\n<li>my-medium.cnf\uff08\u642d\u8f09\u30e1\u30e2\u30ea128MB\u4ee5\u4e0b\uff09<\/li>\n<li>my-large.cnf\uff08\u642d\u8f09\u30e1\u30e2\u30ea512MB\u4ee5\u4e0b\uff09<\/li>\n<li>my-huge.cnf\uff08\u642d\u8f09\u30e1\u30e2\u30ea1GB\uff5e2GB\u4ee5\u4e0b\uff09<\/li>\n<li>my-innodb-heavy-4G.cnf\uff08\u642d\u8f09\u30e1\u30e2\u30ea4GB&#038;InnoDB\uff09<\/li>\n<\/ul>\n<p>\u306e\uff15\u3064\u3042\u308b\u306e\u3067\u3001Mac mini \u306e\u642d\u8f09\u30e1\u30e2\u30ea\u306e\u69d8\u5b50\u3092\u898b\u306a\u304c\u3089\u9069\u5f53\u306a\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\uff08\u642d\u8f09\u30e1\u30e2\u30ea\u304c 1G \u3060\u3051\u3069 MySQL \u4ee5\u5916\u306b\u3082\u540c\u6642\u306b\u52d5\u304b\u3059\u30bd\u30d5\u30c8\u304c\u3042\u308b\u304b\u3089\u4eca\u56de\u306f my-large.cnf\uff09\u3092\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u306b\u30b3\u30d4\u30fc\u3059\u308b\u3002<\/p>\n<p>\u30b3\u30d4\u30fc\u3057\u305f\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u540d\u524d\u3092\u300cmy.cnf\u300d\u306b\u5909\u66f4\u3059\u308b\u3002<\/p>\n<p>\u3093\u3067\u3001\u305d\u306e my.cnf \u3092\u958b\u3044\u3066 <code>[mysqld]<\/code> \u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u3092\u63a2\u3057\u3066<br \/>\n<code>default-character-set=\u6587\u5b57\u30b3\u30fc\u30c9<\/code><br \/>\n<code>character-set-server=\u6587\u5b57\u30b3\u30fc\u30c9<\/code><br \/>\n<code>skip-character-set-client-handshake<\/code><br \/>\n\u306e\uff13\u884c\u3092\u8ffd\u52a0\u3057\u3066\u304a\u304f\u3002<\/p>\n<p>\u3067\u3001\u307e\u305f\u30bf\u30fc\u30df\u30ca\u30eb\u3092\u8d77\u52d5\u3057\u3066<br \/>\n<code>sudo chown root:wheel \/Users\/<i>\u30e6\u30fc\u30b6\u30fc\u540d<\/i>\/Desktop\/my.cnf<\/code><br \/>\n\u3067 my.cnf \u306e\u30aa\u30fc\u30ca\u30fc\u5909\u66f4\u3002<br \/>\n<code>sudo chmod 644 \/Users\/<i>\u30e6\u30fc\u30b6\u30fc\u540d<\/i>\/Desktop\/my.cnf<\/code><br \/>\n\u3067 my.cnf \u306e\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u5909\u66f4\u3002<br \/>\n<code>sudo mv \/Users\/<i>\u30e6\u30fc\u30b6\u30fc\u540d<\/i>\/Desktop\/my.cnf \/etc\/<\/code><br \/>\n\u3067 my.cnf \u3092<code>\/etc\/<\/code>\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5185\u3078\u79fb\u52d5\u3055\u305b\u305f\u3089 MySQL \u306e\u8a2d\u5b9a\u306f\u7d42\u308f\u308a\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>MySQL Mac mini \u3067\u7c21\u6613\u30b5\u30fc\u30d0\u30fc\u3092\u69cb\u7bc9\u3057\u305f\u306e\u3067\u624b\u9806\u3092\u30e1\u30e2\u3063\u3068\u304f\u3002 MySQL \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb \u4eca\u56de\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u306e\u306f MySQL 5.0.67 MySQL \u306e\u516c\u5f0f\u30b5\u30a4\u30c8\u304b\u3089 Mac OS X (packag [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_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":[4,5],"tags":[],"class_list":["post-5","post","type-post","status-publish","format-standard","hentry","category-mac","category-mysql"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/blog.cfms.jp\/index.php?rest_route=\/wp\/v2\/posts\/5","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.cfms.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.cfms.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.cfms.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.cfms.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5"}],"version-history":[{"count":0,"href":"https:\/\/blog.cfms.jp\/index.php?rest_route=\/wp\/v2\/posts\/5\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.cfms.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.cfms.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.cfms.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}