{"id":82,"date":"2012-08-06T16:07:30","date_gmt":"2012-08-06T07:07:30","guid":{"rendered":"http:\/\/auctionpro.co.kr\/WPress\/?p=82"},"modified":"2014-10-11T20:19:52","modified_gmt":"2014-10-11T11:19:52","slug":"mysql-%ec%84%a4%ec%b9%98","status":"publish","type":"post","link":"https:\/\/www.auctionpro.co.kr\/?p=82","title":{"rendered":"&#8211; mysql php \uc124\uce58"},"content":{"rendered":"<p>MySQL\uc740 CentOS \ud328\ud0a4\uc9c0\uc5d0 \ud3ec\ud568\ub418\uc5b4 \uc788\ub2e4.<\/p>\n<p>\uc124\uce58 \uc5ec\ubd80 \ud655\uc778 : yum list installed<\/p>\n<p>1. \uc124\uce58<\/p>\n<p># yum install mysql-server<\/p>\n<p>2. MySQL \uc11c\ubc84 \uc2dc\uc791 \uba85\ub839\uc5b4<\/p>\n<p># service mysqld start<br \/>\n(\/etc\/rc.d\/init.d\/mysqld start)<\/p>\n<p>3. root \uc0ac\uc6a9\uc790 \ube44\ubc00\ubc88\ud638 \uc124\uc815<\/p>\n<p># mysql -u root -p mysql<\/p>\n<p>\ube44\ubc00\ubc88\ud638\ub294 \uadf8\ub0e5 \uc5d4\ud130<\/p>\n<p>mysql&gt; update user set password=password(&#8216;new-password&#8217;) where user=&#8217;root&#8217;;<\/p>\n<p>4. \uad8c\ud55c \ud14c\uc774\ube14 \uc5c5\ub370\uc774\ud2b8<\/p>\n<p>mysql&gt; flush privileges;<\/p>\n<p>mysql&gt; quit;<\/p>\n<p>5. MySQL \ubd80\ud305\uc2dc \uc2e4\ud589 \ub370\ubaac \ub4f1\ub85d<\/p>\n<p># ntsysv<\/p>\n<p>mysqld \ub97c \ucc3e\uc544\uc11c \uccb4\ud06c.<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<\/p>\n<p>yum -y install PHP<\/p>\n<p>vi \/usr\/local\/server\/apache\/htdocs\/phpinfo.php (x)<br \/>\nvi\u00a0\/var\/www\/html\/phpinfo.php<\/p>\n<p>&lt;? phpinfo(); ?&gt;<\/p>\n<p>&#8212;<br \/>\nDelete \/var\/tmp\/config.inc.php.swp&#8230;<br \/>\nrm -f \/var\/tmp\/config.inc.php.swp<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>MySQL\uc740 CentOS \ud328\ud0a4\uc9c0\uc5d0 \ud3ec\ud568\ub418\uc5b4 \uc788\ub2e4. \uc124\uce58 \uc5ec\ubd80 \ud655\uc778 : yum list installed 1. \uc124\uce58 # yum install mysql-server 2. MySQL \uc11c\ubc84 \uc2dc\uc791 \uba85\ub839\uc5b4 # service <a class=\"mh-excerpt-more\" href=\"https:\/\/www.auctionpro.co.kr\/?p=82\" title=\"&#8211; mysql php \uc124\uce58\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[11],"tags":[],"class_list":["post-82","post","type-post","status-publish","format-standard","hentry","category-centos"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/82","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=82"}],"version-history":[{"count":0,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/82\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=82"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=82"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=82"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}