{"id":21,"date":"2024-12-01T07:49:30","date_gmt":"2024-12-01T07:49:30","guid":{"rendered":"http:\/\/211.230.203.47\/wordpress\/?p=21"},"modified":"2024-12-01T07:49:30","modified_gmt":"2024-12-01T07:49:30","slug":"%eb%8d%b0%ec%9d%b4%ed%84%b0%eb%b2%a0%ec%9d%b4%ec%8a%a4-%eb%a6%ac%ec%8a%a4%ed%8a%b8-%eb%b3%b4%ea%b8%b0","status":"publish","type":"post","link":"https:\/\/www.soon7shop.kr\/wordpress\/?p=21","title":{"rendered":"\ub370\uc774\ud130\ubca0\uc774\uc2a4 \ub9ac\uc2a4\ud2b8 \ubcf4\uae30"},"content":{"rendered":"<p>MySQL\uc5d0\uc11c \ud604\uc7ac \uc11c\ubc84\uc5d0 \uc874\uc7ac\ud558\ub294 \ub370\uc774\ud130\ubca0\uc774\uc2a4 \ubaa9\ub85d\uc744 \ubcf4\ub824\uba74 \ub2e4\uc74c \uba85\ub839\uc5b4\ub97c \uc0ac\uc6a9\ud558\uc138\uc694:<\/p>\n<hr \/>\n<h2>\ub370\uc774\ud130\ubca0\uc774\uc2a4 \ub9ac\uc2a4\ud2b8 \ubcf4\uae30<\/h2>\n<p>MySQL\uc5d0 \uc811\uc18d\ud55c \ud6c4 \uc544\ub798 \uba85\ub839\uc5b4\ub97c \uc785\ub825\ud569\ub2c8\ub2e4:<\/p>\n<div class=\"contain-inline-size rounded-md border-[0.5px] border-token-border-medium relative bg-token-sidebar-surface-primary dark:bg-gray-950\">\n<div class=\"flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between rounded-t-md h-9 bg-token-sidebar-surface-primary dark:bg-token-main-surface-secondary select-none\">sql<\/div>\n<div class=\"sticky top-9 md:top-[5.75rem]\">\n<div class=\"absolute bottom-0 right-2 flex h-9 items-center\">\n<div class=\"flex items-center rounded bg-token-sidebar-surface-primary px-2 font-sans text-xs text-token-text-secondary dark:bg-token-main-surface-secondary\"><\/div>\n<\/div>\n<\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"!whitespace-pre hljs language-sql\"><span class=\"hljs-keyword\">SHOW<\/span> DATABASES;<br \/>\n<\/code><\/div>\n<\/div>\n<hr \/>\n<h3>\uc608\uc2dc<\/h3>\n<ol>\n<li>MySQL\uc5d0 \uc811\uc18d:\n<div class=\"contain-inline-size rounded-md border-[0.5px] border-token-border-medium relative bg-token-sidebar-surface-primary dark:bg-gray-950\">\n<div class=\"flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between rounded-t-md h-9 bg-token-sidebar-surface-primary dark:bg-token-main-surface-secondary select-none\">bash<\/div>\n<div class=\"sticky top-9 md:top-[5.75rem]\">\n<div class=\"absolute bottom-0 right-2 flex h-9 items-center\">\n<div class=\"flex items-center rounded bg-token-sidebar-surface-primary px-2 font-sans text-xs text-token-text-secondary dark:bg-token-main-surface-secondary\"><\/div>\n<\/div>\n<\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"!whitespace-pre hljs language-bash\">sudo mysql -u root -p<br \/>\n<\/code><\/div>\n<\/div>\n<p>\ub610\ub294:<\/p>\n<div class=\"contain-inline-size rounded-md border-[0.5px] border-token-border-medium relative bg-token-sidebar-surface-primary dark:bg-gray-950\">\n<div class=\"flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between rounded-t-md h-9 bg-token-sidebar-surface-primary dark:bg-token-main-surface-secondary select-none\">bash<\/div>\n<div class=\"sticky top-9 md:top-[5.75rem]\">\n<div class=\"absolute bottom-0 right-2 flex h-9 items-center\">\n<div class=\"flex items-center rounded bg-token-sidebar-surface-primary px-2 font-sans text-xs text-token-text-secondary dark:bg-token-main-surface-secondary\"><\/div>\n<\/div>\n<\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"!whitespace-pre hljs language-bash\">mysql -u \uc0ac\uc6a9\uc790\uba85 -p<br \/>\n<\/code><\/div>\n<\/div>\n<\/li>\n<li>\ub370\uc774\ud130\ubca0\uc774\uc2a4 \ubaa9\ub85d \ud655\uc778:\n<div class=\"contain-inline-size rounded-md border-[0.5px] border-token-border-medium relative bg-token-sidebar-surface-primary dark:bg-gray-950\">\n<div class=\"flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between rounded-t-md h-9 bg-token-sidebar-surface-primary dark:bg-token-main-surface-secondary select-none\">sql<\/div>\n<div class=\"sticky top-9 md:top-[5.75rem]\">\n<div class=\"absolute bottom-0 right-2 flex h-9 items-center\">\n<div class=\"flex items-center rounded bg-token-sidebar-surface-primary px-2 font-sans text-xs text-token-text-secondary dark:bg-token-main-surface-secondary\"><\/div>\n<\/div>\n<\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"!whitespace-pre hljs language-sql\"><span class=\"hljs-keyword\">SHOW<\/span> DATABASES;<br \/>\n<\/code><\/div>\n<\/div>\n<\/li>\n<\/ol>\n<h3>\ucd9c\ub825 \uc608\uc2dc<\/h3>\n<div class=\"contain-inline-size rounded-md border-[0.5px] border-token-border-medium relative bg-token-sidebar-surface-primary dark:bg-gray-950\">\n<div class=\"flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between rounded-t-md h-9 bg-token-sidebar-surface-primary dark:bg-token-main-surface-secondary select-none\">diff<\/div>\n<div class=\"sticky top-9 md:top-[5.75rem]\">\n<div class=\"absolute bottom-0 right-2 flex h-9 items-center\">\n<div class=\"flex items-center rounded bg-token-sidebar-surface-primary px-2 font-sans text-xs text-token-text-secondary dark:bg-token-main-surface-secondary\"><\/div>\n<\/div>\n<\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"!whitespace-pre hljs language-diff\"><span class=\"hljs-addition\">+--------------------+<\/span><br \/>\n<\/code><\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"!whitespace-pre hljs language-diff\">| Database           |<br \/>\n<\/code><\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"!whitespace-pre hljs language-diff\"><span class=\"hljs-addition\">+--------------------+<\/span><br \/>\n<\/code><\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"!whitespace-pre hljs language-diff\">| information_schema |<\/code><\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"!whitespace-pre hljs language-diff\">| mysql              |<\/code><\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"!whitespace-pre hljs language-diff\">| performance_schema |<br \/>\n<\/code><\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"!whitespace-pre hljs language-diff\">| sys                |<br \/>\n<\/code><\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"!whitespace-pre hljs language-diff\">| wordpress          |<\/code><\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"!whitespace-pre hljs language-diff\"><span class=\"hljs-addition\">+--------------------+<\/span><br \/>\n<\/code><\/div>\n<\/div>\n<hr \/>\n<h3>\uc8fc\uc694 \ub370\uc774\ud130\ubca0\uc774\uc2a4 \uc124\uba85<\/h3>\n<ul>\n<li><strong>information_schema<\/strong>: \ub370\uc774\ud130\ubca0\uc774\uc2a4 \uc2a4\ud0a4\ub9c8 \uad00\ub828 \uba54\ud0c0\ub370\uc774\ud130 \uc800\uc7a5\uc18c.<\/li>\n<li><strong>mysql<\/strong>: \uc0ac\uc6a9\uc790, \uad8c\ud55c, \ud50c\ub7ec\uadf8\uc778 \ub4f1 MySQL \uc790\uccb4 \uad6c\uc131 \uc815\ubcf4 \uc800\uc7a5\uc18c.<\/li>\n<li><strong>performance_schema<\/strong>: MySQL \uc11c\ubc84\uc758 \uc131\ub2a5 \uad00\ub828 \ub370\uc774\ud130 \uc800\uc7a5.<\/li>\n<li><strong>sys<\/strong>: MySQL \uad00\ub9ac \uc791\uc5c5\uc5d0 \ub3c4\uc6c0\uc744 \uc8fc\ub294 \ubdf0\uc640 \uae30\ub2a5 \uc81c\uacf5.<\/li>\n<\/ul>\n<hr \/>\n<p>\ucd94\uac00\uc801\uc73c\ub85c \ud2b9\uc815 \ub370\uc774\ud130\ubca0\uc774\uc2a4\ub97c \ud0d0\uc0c9\ud558\uac70\ub098 \ud14c\uc774\ube14 \ubaa9\ub85d\uc744 \ubcf4\uace0 \uc2f6\ub2e4\uba74, \uc544\ub798 \uba85\ub839\uc5b4\ub97c \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n<h3>\ud2b9\uc815 \ub370\uc774\ud130\ubca0\uc774\uc2a4\uc758 \ud14c\uc774\ube14 \ubcf4\uae30<\/h3>\n<div class=\"contain-inline-size rounded-md border-[0.5px] border-token-border-medium relative bg-token-sidebar-surface-primary dark:bg-gray-950\">\n<div class=\"flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between rounded-t-md h-9 bg-token-sidebar-surface-primary dark:bg-token-main-surface-secondary select-none\">sql<\/div>\n<div class=\"sticky top-9 md:top-[5.75rem]\">\n<div class=\"absolute bottom-0 right-2 flex h-9 items-center\">\n<div class=\"flex items-center rounded bg-token-sidebar-surface-primary px-2 font-sans text-xs text-token-text-secondary dark:bg-token-main-surface-secondary\"><\/div>\n<\/div>\n<\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"!whitespace-pre hljs language-sql\">USE \ub370\uc774\ud130\ubca0\uc774\uc2a4\uba85;<br \/>\n<span class=\"hljs-keyword\">SHOW<\/span> TABLES;<\/code><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>MySQL\uc5d0\uc11c \ud604\uc7ac \uc11c\ubc84\uc5d0 \uc874\uc7ac\ud558\ub294 \ub370\uc774\ud130\ubca0\uc774\uc2a4 \ubaa9\ub85d\uc744 \ubcf4\ub824\uba74 \ub2e4\uc74c \uba85\ub839\uc5b4\ub97c \uc0ac\uc6a9\ud558\uc138\uc694: \ub370\uc774\ud130\ubca0\uc774\uc2a4 \ub9ac\uc2a4\ud2b8 \ubcf4\uae30 MySQL\uc5d0 \uc811\uc18d\ud55c \ud6c4 \uc544\ub798 \uba85\ub839\uc5b4\ub97c \uc785\ub825\ud569\ub2c8\ub2e4: sql SHOW DATABASES; \uc608\uc2dc MySQL\uc5d0 \uc811\uc18d: bash sudo mysql -u root -p \ub610\ub294: bash mysql -u \uc0ac\uc6a9\uc790\uba85 -p \ub370\uc774\ud130\ubca0\uc774\uc2a4 \ubaa9\ub85d \ud655\uc778: sql SHOW DATABASES; \ucd9c\ub825 \uc608\uc2dc diff +&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;+ | Database | +&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;+ | information_schema | | &hellip; <a href=\"https:\/\/www.soon7shop.kr\/wordpress\/?p=21\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;\ub370\uc774\ud130\ubca0\uc774\uc2a4 \ub9ac\uc2a4\ud2b8 \ubcf4\uae30&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-21","post","type-post","status-publish","format-standard","hentry","category-4"],"_links":{"self":[{"href":"https:\/\/www.soon7shop.kr\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/21","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.soon7shop.kr\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.soon7shop.kr\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.soon7shop.kr\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.soon7shop.kr\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=21"}],"version-history":[{"count":1,"href":"https:\/\/www.soon7shop.kr\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/21\/revisions"}],"predecessor-version":[{"id":22,"href":"https:\/\/www.soon7shop.kr\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/21\/revisions\/22"}],"wp:attachment":[{"href":"https:\/\/www.soon7shop.kr\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=21"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.soon7shop.kr\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=21"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.soon7shop.kr\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=21"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}