<div id="content" class="content" role="main" style="padding: 0px; margin: 0px; box-sizing: border-box; grid-area: content / content / content / content;">
   <article id="post-621" class="circle-fancy-style post-621 post type-post status-publish format-standard category-mysql tag-147 tag-146 tag-145 category-10 description-off" style="padding: 0px; margin: 0px; position: relative;">
      <div class="entry-content" style="padding: 0px; margin: 0px 0px 50px;">
         <p style="padding: 0px; margin-bottom: 10px;"><span style="padding: 0px; margin: 0px; font-weight: 700;">Mysql datadir 경로 확인 및 Mysql service 중지</span><br style="padding: 0px; margin: 0px;" />mysql 접속 하여 아래와 같은 명령어로 datadir 경로를 확인 하고 서비스를 중단 한다.</p>
         <div class="crayon-pre" style="padding: 0px; margin: 0px; white-space: pre; overflow: visible; tab-size: 4; font-family: &quot;Courier New&quot;, monospace !important; background-image: none !important; background-position: initial !important; background-size: initial !important; background-repeat: initial !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; border: none !important; color: #ffffff !important; font-weight: bold !important; line-height: 15px !important;">
            <div class="crayon-line crayon-striped-line" id="crayon-62ba854f8a8b2274400455-2" style="padding: 0px 5px; margin: 0px; font-family: inherit; border: 0px; height: inherit; word-break: break-all; background: rgb(0, 0, 0) !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; white-space: pre-wrap !important;"><span class="crayon-sy" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #f7adf7 !important;">[</span><span class="crayon-v" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #dddddd !important;">root</span><span class="crayon-sy" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #f7adf7 !important;">@</span><span class="crayon-v" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #dddddd !important;">mail</span><span class="crayon-h" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #006fe0 !important;"></span><span class="crayon-o" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #d14242 !important;">~</span><span class="crayon-sy" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #f7adf7 !important;">]</span><span class="crayon-p" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #90ee90 !important;"># mysql mysql</span></div>
            <div class="crayon-line" id="crayon-62ba854f8a8b2274400455-3" style="padding: 0px 5px; margin: 0px; font-family: inherit; background-image: initial; background-position: 0px center; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border: 0px; height: inherit; word-break: break-all; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; white-space: pre-wrap !important;"><span class="crayon-v" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #dddddd !important;">mysql</span><span class="crayon-o" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #d14242 !important;">&gt;</span><span class="crayon-h" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #006fe0 !important;"></span><span class="crayon-i" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #cdcdcd !important;">select</span><span class="crayon-h" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #006fe0 !important;"></span><span class="crayon-sy" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #f7adf7 !important;">@</span><span class="crayon-sy" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #f7adf7 !important;">@</span><span class="crayon-v" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #dddddd !important;">datadir</span><span class="crayon-sy" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #f7adf7 !important;">;</span></div>
            <div class="crayon-line crayon-striped-line" id="crayon-62ba854f8a8b2274400455-4" style="padding: 0px 5px; margin: 0px; font-family: inherit; border: 0px; height: inherit; word-break: break-all; background: rgb(0, 0, 0) !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; white-space: pre-wrap !important;"><span class="crayon-h" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #006fe0 !important;"></span><span class="crayon-o" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #d14242 !important;">+</span><span class="crayon-o" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #d14242 !important;">--</span><span class="crayon-o" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #d14242 !important;">--</span><span class="crayon-o" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #d14242 !important;">--</span><span class="crayon-o" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #d14242 !important;">--</span><span class="crayon-o" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #d14242 !important;">--</span><span class="crayon-o" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #d14242 !important;">--</span><span class="crayon-o" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #d14242 !important;">--</span><span class="crayon-o" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #d14242 !important;">--</span><span class="crayon-o" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #d14242 !important;">-</span><span class="crayon-o" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #d14242 !important;">+</span></div>
            <div class="crayon-line" id="crayon-62ba854f8a8b2274400455-5" style="padding: 0px 5px; margin: 0px; font-family: inherit; background-image: initial; background-position: 0px center; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border: 0px; height: inherit; word-break: break-all; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; white-space: pre-wrap !important;"><span class="crayon-h" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #006fe0 !important;"></span><span class="crayon-o" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #d14242 !important;">|</span><span class="crayon-h" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #006fe0 !important;"></span><span class="crayon-sy" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #f7adf7 !important;">@</span><span class="crayon-sy" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #f7adf7 !important;">@</span><span class="crayon-v" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #dddddd !important;">datadir</span><span class="crayon-h" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #006fe0 !important;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span class="crayon-o" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #d14242 !important;">|</span></div>
            <div class="crayon-line crayon-striped-line" id="crayon-62ba854f8a8b2274400455-6" style="padding: 0px 5px; margin: 0px; font-family: inherit; border: 0px; height: inherit; word-break: break-all; background: rgb(0, 0, 0) !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; white-space: pre-wrap !important;"><span class="crayon-h" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #006fe0 !important;"></span><span class="crayon-o" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #d14242 !important;">+</span><span class="crayon-o" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #d14242 !important;">--</span><span class="crayon-o" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #d14242 !important;">--</span><span class="crayon-o" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #d14242 !important;">--</span><span class="crayon-o" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #d14242 !important;">--</span><span class="crayon-o" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #d14242 !important;">--</span><span class="crayon-o" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #d14242 !important;">--</span><span class="crayon-o" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #d14242 !important;">--</span><span class="crayon-o" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #d14242 !important;">--</span><span class="crayon-o" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #d14242 !important;">-</span><span class="crayon-o" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #d14242 !important;">+</span></div>
            <div class="crayon-line" id="crayon-62ba854f8a8b2274400455-7" style="padding: 0px 5px; margin: 0px; font-family: inherit; background-image: initial; background-position: 0px center; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border: 0px; height: inherit; word-break: break-all; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; white-space: pre-wrap !important;"><span class="crayon-h" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #006fe0 !important;"></span><span class="crayon-o" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #d14242 !important;">|</span><span class="crayon-h" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #006fe0 !important;"></span><span class="crayon-o" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #d14242 !important;">/</span><span class="crayon-t" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #c37ee6 !important;">var</span><span class="crayon-o" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #d14242 !important;">/</span><span class="crayon-v" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #dddddd !important;">lib</span><span class="crayon-o" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #d14242 !important;">/</span><span class="crayon-v" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #dddddd !important;">mysql</span><span class="crayon-o" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #d14242 !important;">/</span><span class="crayon-h" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #006fe0 !important;"></span><span class="crayon-o" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #d14242 !important;">|</span></div>
            <div class="crayon-line crayon-striped-line" id="crayon-62ba854f8a8b2274400455-8" style="padding: 0px 5px; margin: 0px; font-family: inherit; border: 0px; height: inherit; word-break: break-all; background: rgb(0, 0, 0) !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; white-space: pre-wrap !important;"><span class="crayon-h" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #006fe0 !important;"></span><span class="crayon-o" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #d14242 !important;">+</span><span class="crayon-o" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #d14242 !important;">--</span><span class="crayon-o" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #d14242 !important;">--</span><span class="crayon-o" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #d14242 !important;">--</span><span class="crayon-o" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #d14242 !important;">--</span><span class="crayon-o" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #d14242 !important;">--</span><span class="crayon-o" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #d14242 !important;">--</span><span class="crayon-o" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #d14242 !important;">--</span><span class="crayon-o" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #d14242 !important;">--</span><span class="crayon-o" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #d14242 !important;">-</span><span class="crayon-o" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #d14242 !important;">+</span></div>
            <div class="crayon-line" id="crayon-62ba854f8a8b2274400455-9" style="padding: 0px 5px; margin: 0px; font-family: inherit; background-image: initial; background-position: 0px center; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border: 0px; height: inherit; word-break: break-all; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; white-space: pre-wrap !important;"><span class="crayon-h" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #006fe0 !important;"></span><span class="crayon-cn" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #dddddd !important;">1</span><span class="crayon-h" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #006fe0 !important;"></span><span class="crayon-e" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #daa520 !important;">row </span><span class="crayon-st" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #92afc1 !important;">in</span><span class="crayon-h" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #006fe0 !important;"></span><span class="crayon-e" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #daa520 !important;">set</span><span class="crayon-h" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #006fe0 !important;"></span><span class="crayon-sy" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #f7adf7 !important;">(</span><span class="crayon-cn" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #dddddd !important;">0.00</span><span class="crayon-h" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #006fe0 !important;"></span><span class="crayon-v" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #dddddd !important;">sec</span><span class="crayon-sy" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #f7adf7 !important;">)</span></div>
            <div class="crayon-line crayon-striped-line" id="crayon-62ba854f8a8b2274400455-10" style="padding: 0px 5px; margin: 0px; font-family: inherit; border: 0px; height: inherit; word-break: break-all; background: rgb(0, 0, 0) !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; white-space: pre-wrap !important;"><span class="crayon-h" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #006fe0 !important;"></span><span class="crayon-sy" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #f7adf7 !important;">\</span><span class="crayon-i" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #cdcdcd !important;">q</span></div>
            <div class="crayon-line" id="crayon-62ba854f8a8b2274400455-11" style="padding: 0px 5px; margin: 0px; font-family: inherit; background-image: initial; background-position: 0px center; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border: 0px; height: inherit; word-break: break-all; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; white-space: pre-wrap !important;">&nbsp;</div>
            <div class="crayon-line crayon-striped-line" id="crayon-62ba854f8a8b2274400455-12" style="padding: 0px 5px; margin: 0px; font-family: inherit; border: 0px; height: inherit; word-break: break-all; background: rgb(0, 0, 0) !important; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; white-space: pre-wrap !important;"><span class="crayon-sy" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #f7adf7 !important;">[</span><span class="crayon-v" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #dddddd !important;">root</span><span class="crayon-sy" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #f7adf7 !important;">@</span><span class="crayon-v" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #dddddd !important;">mail</span><span class="crayon-h" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #006fe0 !important;"></span><span class="crayon-o" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #d14242 !important;">~</span><span class="crayon-sy" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #f7adf7 !important;">]</span><span class="crayon-p" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #90ee90 !important;"># systemctl stop mysql</span></div>
            <div class="crayon-line" id="crayon-62ba854f8a8b2274400455-13" style="padding: 0px 5px; margin: 0px; font-family: inherit; background-image: initial; background-position: 0px center; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border: 0px; height: inherit; word-break: break-all; font-size: inherit !important; line-height: inherit !important; font-weight: inherit !important; white-space: pre-wrap !important;">&nbsp;</div>
            </div>
         </div>
      </article>
   </div>