{"id":596,"date":"2006-08-12T05:42:17","date_gmt":"2006-08-11T20:42:17","guid":{"rendered":"http:\/\/www.kazu.tv\/blog\/?p=596"},"modified":"2006-08-12T05:42:17","modified_gmt":"2006-08-11T20:42:17","slug":"mysql_1","status":"publish","type":"post","link":"https:\/\/kazu.tv\/blog\/2006\/08\/12\/mysql_1\/","title":{"rendered":"MySQL\u3001\u30ea\u30b9\u30c8\u30a2\u6642\u306e\u554f\u984c"},"content":{"rendered":"<p>\u25cb\u6982\u8981<br \/>\nMySQL\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3001\u30ea\u30b9\u30c8\u30a2\u306b\u306fMySQL Administrator\u3068\u3044\u3046GUI\u306e\u30c4\u30fc\u30eb\u3092\u4f7f\u3063\u3066\u308b\u3002\u305d\u308c\u4ee5\u5916\u306e\u9078\u629e\u80a2\u3068\u3057\u3066\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u3082\u306e\u304c\u3042\u308b\u3051\u3069\u3001Windows\u30a2\u30d7\u30ea\u306a\u306e\u3067\u7c21\u5358\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u3067\u3002<br \/>\n\u30fbphpMyAdmin<br \/>\n\u30fbmysqldump\u30b3\u30de\u30f3\u30c9<br \/>\nMySQL Administrator\u3092\u4f7f\u3063\u3066\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3057\u3066\u30ea\u30b9\u30c8\u30a2\u3057\u305f\u308a\u3001\u5225\u306e\u30de\u30b7\u30f3\u306eMySQL\u306b\u30c7\u30fc\u30bf\u3092\u79fb\u884c\u3057\u305f\u308a\u3063\u3066\u306e\u306f\u826f\u304f\u3042\u308b\u3068\u601d\u3046\u3051\u3069\u3001\u7d50\u69cb\u3061\u3087\u304f\u3061\u3087\u304f\u554f\u984c\u304c\u767a\u751f\u3059\u308b\u3002<br \/>\nMySQL Administrator\u3067\u30c0\u30f3\u30d7\u3059\u308b\u3068CREATE DATABAS, CREATE TABLE, INSERT\u6587\u306a\u3069\u304c\u542b\u307e\u308c\u305fSQL\u6587\u304c\u4f5c\u6210\u3055\u308c\u308b\u3051\u3069\u3001\u30c0\u30f3\u30d7\u3057\u305f\u30c7\u30fc\u30bf\u304b\u3089\u30ea\u30b9\u30c8\u30a2\u304c\u51fa\u6765\u306a\u3044\u4e8b\u304c\u3088\u304f\u3042\u308b\u3002<br \/>\n\u25cb\u3044\u307e\u307e\u3067\u3042\u3063\u305f\u554f\u984c\u70b9<br \/>\n\u30fb\u5916\u90e8\u30ad\u30fc\u304c\u3042\u308b\u30c6\u30fc\u30d6\u30eb\u306e\u30ea\u30b9\u30c8\u30a2\u6642<br \/>\n\u30c6\u30fc\u30d6\u30ebA\u304c\u30c6\u30fc\u30d6\u30ebB\u3092\u53c2\u7167\u3057\u3066\u3044\u308b\u3068\u3059\u308b\u3002\u30c0\u30f3\u30d7\u3059\u308b\u3068A\u2192B\u3068\u3044\u3046\u9806\u3067CREATE TABLE\u6587\u304c\u4f5c\u6210\u3055\u308c\u308b\u3051\u3069\u3001A\u3092\u4f5c\u6210\u3059\u308b\u6642\u70b9\u3067\u306fB\u304c\u5b58\u5728\u3057\u3066\u3044\u306a\u3044\u306e\u3067\u30a8\u30e9\u30fc\u306b\u306a\u308b\u3002\uff08errno 150 \u3068\u8868\u793a\u3055\u308c\u308b\uff09<br \/>\n\u3053\u308c\u3092\u9632\u3050\u306b\u306f\u4e00\u6642\u7684\u306b\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u3066\u304a\u3051\u3070\u3044\u3044\u3002<\/p>\n<pre class=\"code\">FOREIGN_KEY_CHECKS=0<\/pre>\n<p>\u30de\u30cb\u30e5\u30a2\u30eb\u306e<a href=\"http:\/\/dev.mysql.com\/doc\/refman\/5.0\/en\/innodb-foreign-key-constraints.html\" target=\"_blank\">\u8a72\u5f53\u30da\u30fc\u30b8<\/a><br \/>\nMySQL Administrator\u3067\u306e\u51fa\u529b\u306e\u5148\u982d\u306b\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u884c\u304c\u3042\u308b\u3002<\/p>\n<pre class=\"code\">\/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 *\/;<\/pre>\n<p>\u3068\u8a00\u3046\u4e8b\u3067\u3001\u901a\u5e38\u306f\u81ea\u52d5\u7684\u306b\u3084\u3063\u3066\u304f\u308c\u305d\u3046\u306a\u611f\u3058\u3060\u3051\u3069\u3001\u30ea\u30b9\u30c8\u30a2\u5148\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30fb\u30ea\u30b9\u30c8\u30a2\u6642\u306eMySQL Administrator\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3068\u304b\u306e\u9055\u3044\u306e\u70ba\u304b\u4e0a\u624b\u304f\u3044\u304b\u306a\u3044\u5834\u5408\u304c\u3042\u3063\u305f\u3002\u305d\u306e\u6642\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u305f\u3089\u4e0a\u624b\u304f\u3044\u3063\u305f\u3002\uff08\u30b3\u30e1\u30f3\u30c8\u884c\u3092\u5916\u3057\u305f\uff09<\/p>\n<pre class=\"code\">SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0<\/pre>\n<p>\u30fb\u30c7\u30fc\u30bf\u306b &#8216; \u304c\u3042\u308b\u3068\u2026<br \/>\nINSERT\u6587\u3067VALUE\u306b &#8216; \uff08\u30b7\u30f3\u30b0\u30eb\u30af\u30a9\u30fc\u30c8\uff09\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u6642\u3001\u305d\u306eINSERT\u6587\u304c\u5931\u6557\u3059\u308b\uff08\u6642\u304c\u3042\u308b\uff1f\uff09\u3002<br \/>\n\u3053\u3093\u306a\u611f\u3058\u306e\u30e4\u30c4\u2193\uff08\u3053\u306eSQL\u304c\u30a8\u30e9\u30fc\u306b\u306a\u308b\u304b\u3069\u3046\u304b\u306f\u8a66\u3057\u3066\u306a\u3044\u3051\u3069\uff09<\/p>\n<pre class=\"code\">INSERT INTO tbl (name, value) VALUES ( 'foo', 'foo's value');<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u25cb\u6982\u8981 MySQL\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3001\u30ea\u30b9\u30c8\u30a2\u306b\u306fMySQL Administrator\u3068\u3044\u3046GUI\u306e\u30c4\u30fc\u30eb\u3092\u4f7f\u3063\u3066\u308b\u3002\u305d\u308c\u4ee5\u5916\u306e\u9078\u629e\u80a2\u3068\u3057\u3066\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u3082\u306e\u304c\u3042\u308b\u3051\u3069\u3001Windows\u30a2\u30d7\u30ea\u306a\u306e\u3067\u7c21\u5358\u306b\u30a4\u30f3\u30b9&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":[15],"tags":[],"class_list":["post-596","post","type-post","status-publish","format-standard","hentry","category-15"],"_links":{"self":[{"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/posts\/596","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/comments?post=596"}],"version-history":[{"count":0,"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/posts\/596\/revisions"}],"wp:attachment":[{"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/media?parent=596"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/categories?post=596"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/tags?post=596"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}