<p><span style="padding: 0px; margin: 0px; font-weight: 700; color: #787d85; font-family: &quot;Nanum Gothic&quot;, Helvetica, Arial, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;">Mysql datadir 경로 확인 및 Mysql service 중지</span><br style="padding: 0px; margin: 0px; color: #787d85; font-family: &quot;Nanum Gothic&quot;, Helvetica, Arial, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;" /><span style="color: #787d85; font-family: &quot;Nanum Gothic&quot;, Helvetica, Arial, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;">mysql 접속 하여 아래와 같은 명령어로 datadir 경로를 확인 하고 서비스를 중단 한다.</span></p>
<blockquote style="border: 1px solid rgb(222, 223, 223); background-color: #f7f7f7; padding: 5px 10px;">
   <div class="crayon-line crayon-striped-line" id="crayon-62ba854f8a8b2274400455-2" style="padding: 0px 5px; margin: 0px; font-family: &quot;Courier New&quot;, monospace; border: 0px; height: inherit; font-weight: 700; word-break: break-all; color: #ffffff; background: rgb(0, 0, 0) !important; line-height: 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: &quot;Courier New&quot;, monospace; background: 0px center rgb(13, 13, 13); border: 0px; height: inherit; font-weight: 700; word-break: break-all; color: #ffffff; line-height: 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: &quot;Courier New&quot;, monospace; border: 0px; height: inherit; font-weight: 700; word-break: break-all; color: #ffffff; background: rgb(0, 0, 0) !important; line-height: 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: &quot;Courier New&quot;, monospace; background: 0px center rgb(13, 13, 13); border: 0px; height: inherit; font-weight: 700; word-break: break-all; color: #ffffff; line-height: 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: &quot;Courier New&quot;, monospace; border: 0px; height: inherit; font-weight: 700; word-break: break-all; color: #ffffff; background: rgb(0, 0, 0) !important; line-height: 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: &quot;Courier New&quot;, monospace; background: 0px center rgb(13, 13, 13); border: 0px; height: inherit; font-weight: 700; word-break: break-all; color: #ffffff; line-height: 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: &quot;Courier New&quot;, monospace; border: 0px; height: inherit; font-weight: 700; word-break: break-all; color: #ffffff; background: rgb(0, 0, 0) !important; line-height: 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: &quot;Courier New&quot;, monospace; background: 0px center rgb(13, 13, 13); border: 0px; height: inherit; font-weight: 700; word-break: break-all; color: #ffffff; line-height: 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: &quot;Courier New&quot;, monospace; border: 0px; height: inherit; font-weight: 700; word-break: break-all; color: #ffffff; background: rgb(0, 0, 0) !important; line-height: 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: &quot;Courier New&quot;, monospace; background: 0px center rgb(13, 13, 13); border: 0px; height: inherit; font-weight: 700; word-break: break-all; color: #ffffff; line-height: 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: &quot;Courier New&quot;, monospace; border: 0px; height: inherit; font-weight: 700; word-break: break-all; color: #ffffff; background: rgb(0, 0, 0) !important; line-height: 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>
   </blockquote>
<p><span style="color: #787d85; font-family: &quot;Nanum Gothic&quot;, Helvetica, Arial, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;">&nbsp;</span></p>
<p><span style="padding: 0px; margin: 0px; font-weight: 700; color: #787d85; font-family: &quot;Nanum Gothic&quot;, Helvetica, Arial, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;">새로운 Mysql datadir 생성 및 경로 복사 하기</span><br style="padding: 0px; margin: 0px; color: #787d85; font-family: &quot;Nanum Gothic&quot;, Helvetica, Arial, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;" /><span style="color: #787d85; font-family: &quot;Nanum Gothic&quot;, Helvetica, Arial, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;">새로운 Mysql datadir 생성 후 Mysql datadir 경로 복사 한다. 권한 또한 부여 한다.</span><span style="background-color: #ffffff; color: #787d85; font-family: &quot;Nanum Gothic&quot;, Helvetica, Arial, Verdana, sans-serif; font-size: 14px;">&nbsp;</span></p>
<blockquote style="border: 1px solid rgb(222, 223, 223); background-color: #f7f7f7; padding: 5px 10px;">
   <div class="crayon-line crayon-striped-line" id="crayon-62ba854f8a8ca798038139-2" style="padding: 0px 5px; margin: 0px; font-family: &quot;Courier New&quot;, monospace; border: 0px; height: inherit; font-weight: 700; word-break: break-all; color: #ffffff; background: rgb(0, 0, 0) !important; line-height: 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-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;">mkdir</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-v" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #dddddd !important;">data</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-62ba854f8a8ca798038139-3" style="padding: 0px 5px; margin: 0px; font-family: &quot;Courier New&quot;, monospace; background: 0px center rgb(13, 13, 13); border: 0px; height: inherit; font-weight: 700; word-break: break-all; color: #ffffff; line-height: 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-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;">rsync</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-v" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #dddddd !important;">av</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-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-v" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #dddddd !important;">data</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-62ba854f8a8ca798038139-4" style="padding: 0px 5px; margin: 0px; font-family: &quot;Courier New&quot;, monospace; border: 0px; height: inherit; font-weight: 700; word-break: break-all; color: #ffffff; background: rgb(0, 0, 0) !important; line-height: 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-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;">chown</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-i" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #cdcdcd !important;">R</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;">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-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-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-v" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #dddddd !important;">data</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-i" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #cdcdcd !important;">mysql</span></div>
   </blockquote>
<p><span style="padding: 0px; margin: 0px; font-weight: 700; color: #787d85; font-family: &quot;Nanum Gothic&quot;, Helvetica, Arial, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;">&nbsp;</span></p>
<p><span style="padding: 0px; margin: 0px; font-weight: 700; color: #787d85; font-family: &quot;Nanum Gothic&quot;, Helvetica, Arial, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;">my.cnf 파일 수정</span><br style="padding: 0px; margin: 0px; color: #787d85; font-family: &quot;Nanum Gothic&quot;, Helvetica, Arial, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;" /><span style="color: #787d85; font-family: &quot;Nanum Gothic&quot;, Helvetica, Arial, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;">/etc/my.cnf 수정 한다.</span><span style="background-color: #ffffff; color: #787d85; font-family: &quot;Nanum Gothic&quot;, Helvetica, Arial, Verdana, sans-serif; font-size: 14px;">&nbsp;</span></p>
<blockquote style="border: 1px solid rgb(222, 223, 223); background-color: #f7f7f7; padding: 5px 10px;">
   <div class="crayon-line crayon-striped-line" id="crayon-62ba854f8a8d4497573269-2" style="padding: 0px 5px; margin: 0px; font-family: &quot;Courier New&quot;, monospace; border: 0px; height: inherit; font-weight: 700; word-break: break-all; color: #ffffff; background: rgb(0, 0, 0) !important; line-height: 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;"># vi /etc/my.cnf</span></div>
   <div class="crayon-line" id="crayon-62ba854f8a8d4497573269-3" style="padding: 0px 5px; margin: 0px; font-family: &quot;Courier New&quot;, monospace; background: 0px center rgb(13, 13, 13); border: 0px; height: inherit; font-weight: 700; word-break: break-all; color: #ffffff; line-height: 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;">mysqld</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-62ba854f8a8d4497573269-4" style="padding: 0px 5px; margin: 0px; font-family: &quot;Courier New&quot;, monospace; border: 0px; height: inherit; font-weight: 700; word-break: break-all; color: #ffffff; background: rgb(0, 0, 0) !important; line-height: 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;">datadir</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-v" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #dddddd !important;">data</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-e" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #daa520 !important;">mysql</span></div>
   <div class="crayon-line" id="crayon-62ba854f8a8d4497573269-5" style="padding: 0px 5px; margin: 0px; font-family: &quot;Courier New&quot;, monospace; background: 0px center rgb(13, 13, 13); border: 0px; height: inherit; font-weight: 700; word-break: break-all; color: #ffffff; line-height: 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;">socket</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-v" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #dddddd !important;">data</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-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-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;">sock</span></div>
   <div class="crayon-line crayon-striped-line" id="crayon-62ba854f8a8d4497573269-6" style="padding: 0px 5px; margin: 0px; font-family: &quot;Courier New&quot;, monospace; border: 0px; height: inherit; font-weight: 700; word-break: break-all; color: #ffffff; background: rgb(0, 0, 0) !important; line-height: 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;">client</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" id="crayon-62ba854f8a8d4497573269-7" style="padding: 0px 5px; margin: 0px; font-family: &quot;Courier New&quot;, monospace; background: 0px center rgb(13, 13, 13); border: 0px; height: inherit; font-weight: 700; word-break: break-all; color: #ffffff; line-height: 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;">socket</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-v" style="padding: 0px; margin: 0px; font-family: inherit; height: inherit; font-size: inherit !important; line-height: inherit !important; color: #dddddd !important;">data</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-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-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;">sock</span></div>
   <div class="crayon-line crayon-striped-line" id="crayon-62ba854f8a8d4497573269-8" style="padding: 0px 5px; margin: 0px; font-family: &quot;Courier New&quot;, monospace; border: 0px; height: inherit; font-weight: 700; word-break: break-all; color: #ffffff; background: rgb(0, 0, 0) !important; line-height: inherit !important; white-space: pre-wrap !important;"><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;">#symbolic-links=0</span></div>
   <div class="crayon-line" id="crayon-62ba854f8a8d4497573269-9" style="padding: 0px 5px; margin: 0px; font-family: &quot;Courier New&quot;, monospace; background: 0px center rgb(13, 13, 13); border: 0px; height: inherit; font-weight: 700; word-break: break-all; color: #ffffff; line-height: inherit !important; white-space: pre-wrap !important;"><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;">#sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES</span></div>
   </blockquote>
<p><span style="color: #787d85; font-family: &quot;Nanum Gothic&quot;, Helvetica, Arial, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;">&nbsp;</span></p>
<p><span style="padding: 0px; margin: 0px; font-weight: 700; color: #787d85; font-family: &quot;Nanum Gothic&quot;, Helvetica, Arial, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;">SELinux 보안 context에 추가 및 서비스 시작</span><br style="padding: 0px; margin: 0px; color: #787d85; font-family: &quot;Nanum Gothic&quot;, Helvetica, Arial, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;" /><span style="color: #787d85; font-family: &quot;Nanum Gothic&quot;, Helvetica, Arial, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;">SELinux 보안 context에 적용을 시키고 서비스를 시작한다.</span></p>
<blockquote style="border: 1px solid rgb(222, 223, 223); background-color: #f7f7f7; padding: 5px 10px;">
   <div class="crayon-line crayon-striped-line" id="crayon-62ba854f8a8dd785656237-2" style="padding: 0px 5px; margin: 0px; font-family: &quot;Courier New&quot;, monospace; border: 0px; height: inherit; font-weight: 700; word-break: break-all; color: #ffffff; background: rgb(0, 0, 0) !important; line-height: 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;">#&nbsp;&nbsp;semanage fcontext -a -t mysqld_db_t "/data/mysql(/.*)?"</span></div>
   <div class="crayon-line" id="crayon-62ba854f8a8dd785656237-3" style="padding: 0px 5px; margin: 0px; font-family: &quot;Courier New&quot;, monospace; background: 0px center rgb(13, 13, 13); border: 0px; height: inherit; font-weight: 700; word-break: break-all; color: #ffffff; line-height: 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;">#&nbsp;&nbsp;restorecon -R /data/mysql</span></div>
   <div class="crayon-line crayon-striped-line" id="crayon-62ba854f8a8dd785656237-4" style="padding: 0px 5px; margin: 0px; font-family: &quot;Courier New&quot;, monospace; border: 0px; height: inherit; font-weight: 700; word-break: break-all; color: #ffffff; background: rgb(0, 0, 0) !important; line-height: 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;">#&nbsp;&nbsp;systemctl start mysql</span></div>
   </blockquote>
<p><span style="color: #787d85; font-family: &quot;Nanum Gothic&quot;, Helvetica, Arial, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;">&nbsp;</span></p>
<p><span style="padding: 0px; margin: 0px; font-weight: 700; color: #787d85; font-family: &quot;Nanum Gothic&quot;, Helvetica, Arial, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;">변경된 datadir 확인 하기</span><br style="padding: 0px; margin: 0px; color: #787d85; font-family: &quot;Nanum Gothic&quot;, Helvetica, Arial, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;" /><span style="color: #787d85; font-family: &quot;Nanum Gothic&quot;, Helvetica, Arial, Verdana, sans-serif; font-size: 14px; background-color: #ffffff;">mysql접속 하여 datadir 경로 확인.</span></p>
<blockquote style="border: 1px solid rgb(222, 223, 223); background-color: #f7f7f7; padding: 5px 10px;">
   <div class="crayon-line crayon-striped-line" id="crayon-62ba854f8a8e5962233269-2" style="padding: 0px 5px; margin: 0px; font-family: &quot;Courier New&quot;, monospace; border: 0px; height: inherit; font-weight: 700; word-break: break-all; color: #ffffff; background: rgb(0, 0, 0) !important; line-height: 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" id="crayon-62ba854f8a8e5962233269-3" style="padding: 0px 5px; margin: 0px; font-family: &quot;Courier New&quot;, monospace; background: 0px center rgb(13, 13, 13); border: 0px; height: inherit; font-weight: 700; word-break: break-all; color: #ffffff; line-height: 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></div>
   <div class="crayon-line crayon-striped-line" id="crayon-62ba854f8a8e5962233269-4" style="padding: 0px 5px; margin: 0px; font-family: &quot;Courier New&quot;, monospace; border: 0px; height: inherit; font-weight: 700; word-break: break-all; color: #ffffff; background: rgb(0, 0, 0) !important; line-height: 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;</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-62ba854f8a8e5962233269-5" style="padding: 0px 5px; margin: 0px; font-family: &quot;Cour