{"id":367,"date":"2013-10-14T23:42:33","date_gmt":"2013-10-14T14:42:33","guid":{"rendered":"http:\/\/www.typea.info\/blog\/index.php\/2013\/10\/14\/serversmancentos_6_django_2_mysql\/"},"modified":"2013-10-14T23:42:33","modified_gmt":"2013-10-14T14:42:33","slug":"serversmancentos_6_django_2_mysql","status":"publish","type":"post","link":"https:\/\/www.typea.info\/blog\/index.php\/2013\/10\/14\/serversmancentos_6_django_2_mysql\/","title":{"rendered":"ServersMan(CentOS 6)\u306b Django \u74b0\u5883\u3092\u69cb\u7bc9\u3059\u308b(2) MySQL\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb"},"content":{"rendered":"<p>\u524d\u56de(<a href=\"https:\/\/www.typea.info\/blog\/index.php\/2013\/10\/06\/serversmancentos_6_django_1_python27\">ServersMan(CentOS 6) \u306b Django \u74b0\u5883\u3092\u69cb\u7bc9\u3059\u308b(1) Python2.7\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u307e\u3067<\/a>) \u306b\u7d9a\u3044\u3066\u3001\u3001Django \u306e\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3068\u3057\u3066\u3001MySQL 5.6 \u3092\u5229\u7528\u3059\u308b\u3053\u3068\u3092\u524d\u63d0\u306b\u3001MySQL\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u884c\u3046\u3002<\/p>\n<ul>\n<li><a href=\"http:\/\/docs.djangoproject.jp\/ja\/latest\/ref\/databases.html\">Django1.4 \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30b5\u30dd\u30fc\u30c8\u72b6\u6cc1<\/a> <\/li>\n<li><a href=\"http:\/\/www.mysql.com\/\">MySQL<\/a>\n<ul>\n<li><a href=\"http:\/\/dev.mysql.com\/downloads\/\">MySQL Download<\/a> <\/li>\n<li><a href=\"http:\/\/dev.mysql.com\/downloads\/mysql\/\">MySQL Community Server<\/a> <\/li>\n<li><a href=\"http:\/\/dev.mysql.com\/doc\/refman\/5.1-olh\/ja\/linux-rpm.html\">RPM \u30d1\u30c3\u30b1\u30fc\u30b8\u304b\u3089 Linux \u306b MySQL \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/a> <\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h2>MySQL\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/h2>\n<p><a href=\"http:\/\/dev.mysql.com\/downloads\/mysql\/\">Download MySQL Community Server \u306e\u30da\u30fc\u30b8<\/a>\u3092\u958b\u304f<\/p>\n<p><a href=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/ServersManCentOS6Django2MySQL_13B9F\/mysql_inst01.jpg\"><img loading=\"lazy\" decoding=\"async\" title=\"mysql_inst01\" style=\"border-left-width: 0px; border-right-width: 0px; border-bottom-width: 0px; display: inline; border-top-width: 0px\" border=\"0\" alt=\"mysql_inst01\" src=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/ServersManCentOS6Django2MySQL_13B9F\/mysql_inst01_thumb.jpg\" width=\"244\" height=\"169\" \/><\/a> <\/p>\n<p>\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u5bfe\u8c61\u306b\u3066\u3001\u300cLinux Generic\u300d \u3092\u9078\u629e\u3057\u3001\u300cLinux &#8211; Generic (glibc 2.5) (x86, 32-bit), RPM Bundle\u300d\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u30dc\u30bf\u30f3\u3092\u62bc\u4e0b\u3002<\/p>\n<p><a href=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/ServersManCentOS6Django2MySQL_13B9F\/mysql_inst02.jpg\"><img loading=\"lazy\" decoding=\"async\" title=\"mysql_inst02\" style=\"border-left-width: 0px; border-right-width: 0px; border-bottom-width: 0px; display: inline; border-top-width: 0px\" border=\"0\" alt=\"mysql_inst02\" src=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/ServersManCentOS6Django2MySQL_13B9F\/mysql_inst02_thumb.jpg\" width=\"244\" height=\"143\" \/><\/a> <\/p>\n<p>Oracle\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u304c\u7121\u3044\u5834\u5408\u3001\u3053\u3053\u3067\u4f5c\u6210\u3092\u6c42\u3081\u3089\u308c\u308b\u306e\u3067\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<p>\u3042\u308c\u3070\u3001\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u6b21\u306b\u9032\u307f\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/ServersManCentOS6Django2MySQL_13B9F\/mysql_inst04.jpg\"><img loading=\"lazy\" decoding=\"async\" title=\"mysql_inst04\" style=\"border-left-width: 0px; border-right-width: 0px; border-bottom-width: 0px; display: inline; border-top-width: 0px\" border=\"0\" alt=\"mysql_inst04\" src=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/ServersManCentOS6Django2MySQL_13B9F\/mysql_inst04_thumb.jpg\" width=\"244\" height=\"146\" \/><\/a> <\/p>\n<p>\u304a\u304a\u3088\u305d 300MB \u306e\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/p>\n<p><a href=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/ServersManCentOS6Django2MySQL_13B9F\/mysql_inst03.jpg\"><img loading=\"lazy\" decoding=\"async\" title=\"mysql_inst03\" style=\"border-left-width: 0px; border-right-width: 0px; border-bottom-width: 0px; display: inline; border-top-width: 0px\" border=\"0\" alt=\"mysql_inst03\" src=\"https:\/\/www.typea.info\/blog\/wp-content\/uploads\/image\/ServersManCentOS6Django2MySQL_13B9F\/mysql_inst03_thumb.jpg\" width=\"244\" height=\"184\" \/><\/a> <\/p>\n<h2>FTP\u30b5\u30fc\u30d0\u30fc\u306e\u69cb\u7bc9<\/h2>\n<p>MySQL\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u306b\u306f\u3001\u4e0a\u8a18\u306e\u69d8\u306a\u624b\u9806\u3092\u8e0f\u3080\u306e\u3067\u3001\u30b5\u30fc\u30d0\u30fc\u5074\u3067\u3001wget \u306b\u3088\u3063\u3066\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n<p>\u306e\u3067\u3001PC\u3067\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u3001\u30b5\u30fc\u30d0\u30fc\u306b\u9001\u3089\u306a\u3051\u308c\u3070\u3044\u3051\u306a\u3044\u306e\u3067\u3001\u3053\u306e\u6a5f\u4f1a\u306bFTP\u30b5\u30fc\u30d0\u30fc\u3082\u8a2d\u5b9a\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<h3>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<p>\u30b5\u30fc\u30d0\u30fc\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3001<\/p>\n<pre class=\"prettyprint linenums\"># rpm -q vsftpd\r\npackage vsftpd is not installed<\/pre>\n<p>\u5ff5\u306e\u305f\u3081\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u304b\u78ba\u8a8d\u3059\u308b\u3002\u3002\u3002\u3055\u308c\u3066\u3044\u306a\u3044\u3002<\/p>\n<pre class=\"prettyprint linenums\"># yum install -y vsftpd\r\nLoaded plugins: fastestmirror\r\n    :\r\nInstalled:\r\n  vsftpd.i686 0:2.2.2-11.el6_4.1                                                                           \r\n\r\nComplete!<\/pre>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5b8c\u4e86<\/p>\n<p>&nbsp;<\/p>\n<h3>\u8a2d\u5b9a<\/h3>\n<p>\/etc\/vsftpd\/vsftpd.conf \u3092\u7de8\u96c6\u3057\u307e\u3059\u3002<\/p>\n<h4>\u533f\u540d\u30ed\u30b0\u30a4\u30f3\u3092\u7121\u52b9\u5316<\/h4>\n<p>2\u884c\u76ee\u3092\u30b3\u30e1\u30f3\u30c8\u5316\u3002<\/p>\n<pre class=\"prettyprint linenums\"># Allow anonymous FTP? (Beware - allowed by default if you comment this out).\r\n# anonymous_enable=YES<\/pre>\n<h4>\u30ed\u30b0\u3092\u51fa\u529b<\/h4>\n<p>3\u884c\u76ee\u306e\u30b3\u30e1\u30f3\u30c8\u3092\u5916\u3059\u3002<\/p>\n<pre class=\"prettyprint linenums\"># The name of log file when xferlog_enable=YES and xferlog_std_format=YES\r\n# WARNING - changing this filename affects \/etc\/logrotate.d\/vsftpd.log\r\nxferlog_file=\/var\/log\/xferlog<\/pre>\n<h4>\u63a5\u7d9a\u5236\u9650\u306e\u8a2d\u5b9a<\/h4>\n<p>\u4ee5\u4e0b\u306e\u69d8\u306b\u306a\u3063\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d<\/p>\n<pre class=\"prettyprint linenums\">tcp_wrappers=YES<\/pre>\n<p>\/etc\/hosts.allow \u306e\u6700\u7d42\u884c\u306b\u4ee5\u4e0b\u3092\u8ffd\u8a18(\u5236\u9650\u3092\u304b\u3051\u308b\u3068\u304d\u306f\u3053\u3053\u3067\u884c\u3046)<\/p>\n<pre class=\"prettyprint linenums\">#\r\n# hosts.allow   This file contains access rules which are used to\r\n#               allow or deny connections to network services that\r\n#               either use the tcp_wrappers library or that have been\r\n#               started through a tcp_wrappers-enabled xinetd.\r\n#\r\n#               See 'man 5 hosts_options' and 'man 5 hosts_access'\r\n#               for information on rule syntax.\r\n#               See 'man tcpd' for information on tcp_wrappers\r\n#\r\nvsftpd : ALL : ALLOW<\/pre>\n<h4>\u63a5\u7d9a\u30e6\u30fc\u30b6\u30fc\u306e\u8ffd\u52a0<\/h4>\n<p>\u57fa\u672c\u7684\u306b\u3001root\u3067\u306f\u3001FTP\u30b5\u30fc\u30d0\u30fc\u306b\u63a5\u7d9a\u3067\u304d\u306a\u3044\u305f\u3081\u3001\u30e6\u30fc\u30b6\u30fc\u3092\u8ffd\u52a0\u3059\u308b<\/p>\n<blockquote>\n<p>\u975e\u63a8\u5968\u3060\u304c\u3001root \u3067\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u308b\u69d8\u306b\u3059\u308b\u305f\u3081\u306b\u306f\u3001\/etc\/vsftpd\/ftpusers\u3001\/etc\/vsftpd\/user_list \u306e\u4e21\u65b9\u304b\u3089root \u884c\u3092\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3059\u308b\u3053\u3068\u3067\u53ef\u80fd<\/p>\n<\/blockquote>\n<pre class=\"prettyprint linenums\"># useradd xxxx\r\n# passwd xxxx\r\n# gpasswd -a xxx root<\/pre>\n<h4>\u81ea\u52d5\u8d77\u52d5\u306e\u8a2d\u5b9a<\/h4>\n<p>\u30e9\u30f3\u30ec\u30d9\u30eb 3 \u3067\u81ea\u52d5\u8d77\u52d5\u3059\u308b\u3088\u3046\u306b\u8a2d\u5b9a\u3059\u308b\u3002(\u73fe\u72b6\u306e\u78ba\u8a8d\u304b\u3089\u8a2d\u5b9a)<\/p>\n<pre class=\"prettyprint linenums\"># chkconfig --list vsftpd\r\nvsftpd          0:off   1:off   2:off   3:off    4:off   5:off   6:off\r\n# runlevel\r\nN 3\r\n# chkconfig --level 3 vsftpd on\r\n# chkconfig --list vsftpd\r\nvsftpd          0:off   1:off   2:off   3:on    4:off   5:off   6:off<\/pre>\n<h4>\u8d77\u52d5<\/h4>\n<p>FTP\u30b5\u30fc\u30d0\u30fc\u3092\u8d77\u52d5\u3059\u308b\u3002<\/p>\n<pre class=\"prettyprint linenums\"># \/sbin\/service vsftpd start\r\nStarting vsftpd for vsftpd:                                [  OK  ]<\/pre>\n<p>\u3053\u308c\u3067\u3001FTP\u3067\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3067\u304d\u308b\u69d8\u306b\u306a\u308a\u307e\u3059\u306e\u3067\u3001\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305fMySQL\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30d5\u30a1\u30a4\u30eb\u3092\u3001\u30b5\u30fc\u30d0\u30fc\u306b\u4e0a\u3052\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h2>MySQL\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<p>\u30d5\u30a1\u30a4\u30eb\u306e\u89e3\u51cd\u3092\u3059\u308b\u3068\u3001\u3044\u304f\u3064\u304b\u306eRPM\u30d5\u30a1\u30a4\u30eb\u304c\u5c55\u958b\u3055\u308c\u308b\u3002<\/p>\n<pre class=\"prettyprint linenums\"># tar xvf MySQL-5.6.14-1.linux_glibc2.5.i386.rpm-bundle.tar \r\nMySQL-shared-5.6.14-1.linux_glibc2.5.i386.rpm\r\nMySQL-embedded-5.6.14-1.linux_glibc2.5.i386.rpm\r\nMySQL-server-5.6.14-1.linux_glibc2.5.i386.rpm\r\nMySQL-shared-compat-5.6.14-1.linux_glibc2.5.i386.rpm\r\nMySQL-devel-5.6.14-1.linux_glibc2.5.i386.rpm\r\nMySQL-test-5.6.14-1.linux_glibc2.5.i386.rpm\r\nMySQL-client-5.6.14-1.linux_glibc2.5.i386.rpm<\/pre>\n<ul>\n<li>\u6a19\u6e96\u306e\u6700\u4f4e\u9650\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u306f\u3001\u30b5\u30fc\u30d0\u30fc\u3068\u30af\u30e9\u30a4\u30a2\u30f3\u30c8 <a href=\"http:\/\/typea.info\/tips\/wiki.cgi?page=RPM\">RPM<\/a> \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b <\/li>\n<li><a href=\"http:\/\/typea.info\/tips\/wiki.cgi?page=RPM\">RPM<\/a> \u306f\u307e\u305f <a href=\"http:\/\/typea.info\/tips\/wiki.cgi?page=MySQL\">MySQL<\/a> \u30b5\u30fc\u30d0\u30fc\u3092\u904b\u7528\u3059\u308b\u305f\u3081\u306e\u30e6\u30fc\u30b6\u30fc mysql (\u5b58\u5728\u3057\u306a\u3044\u5834\u5408) \u306e\u30ed\u30b0\u30a4\u30f3\u30a2\u30ab\u30a6\u30f3\u30c8\u304c\u4f5c\u6210\u3055\u308c\u307e\u3059 <\/li>\n<li>\u958b\u767a\u7528\u306e\u30d8\u30c3\u30c0\u30fc(devel)\u3082Django\u3067\u5fc5\u8981\u306b\u306a\u308b\u306e\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b <\/li>\n<li>\u30b5\u30fc\u30d0\u30fc\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6642\u306b\u3001root\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u60c5\u5831\u304c\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u3001\u898b\u904e\u3054\u3055\u306a\u3044 <\/li>\n<\/ul>\n<pre class=\"prettyprint linenums\"># rpm -ivh MySQL-shared-5.6.14-1.linux_glibc2.5.i386.rpm <\/pre>\n<pre class=\"prettyprint linenums\"># rpm -ivh MySQL-shared-compat-5.6.14-1.linux_glibc2.5.i386.rpm<\/pre>\n<pre class=\"prettyprint linenums\"># rpm -ivh MySQL-server-5.6.14-1.linux_glibc2.5.i386.rpm \r\nerror: Failed dependencies:\r\n        libaio.so.1 is needed by MySQL-server-5.6.14-1.linux_glibc2.5.i386\r\n        libaio.so.1(LIBAIO_0.1) is needed by MySQL-server-5.6.14-1.linux_glibc2.5.i386\r\n        libaio.so.1(LIBAIO_0.4) is needed by MySQL-server-5.6.14-1.linux_glibc2.5.i386<\/pre>\n<p>libaio \u304c\u7121\u3044\u3068\u30a8\u30e9\u30fc\u306b\u306a\u308b\u5834\u5408\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u518d\u5b9f\u884c<\/p>\n<pre class=\"prettyprint linenums\"># yum install libaio\r\n# rpm -ivh MySQL-server-5.6.14-1.linux_glibc2.5.i386.rpm <\/pre>\n<p><font color=\"#ff0000\"><strong>\u3053\u306e\u3068\u304d\u3001\u521d\u671f\u30d1\u30b9\u30ef\u30fc\u30c9\u306b\u95a2\u3059\u308b\u60c5\u5831\u304c\u51fa\u529b\u3055\u308c\u308b\u306e\u3067\u3001\u5fd8\u308c\u305a\u306b\u78ba\u8a8d\u3059\u308b\u3053\u3068\uff01<\/strong><\/font><\/p>\n<p><font color=\"#ff0000\">root \u30e6\u30fc\u30b6\u30fc\u7528\u306e\u30e9\u30f3\u30c0\u30e0\u30d1\u30b9\u30ef\u30fc\u30c9\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3001\/root\/.mysql_secret \u306b\u305d\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u304c\u8a18\u8ff0\u3055\u308c\u305f\u3088\u3046\u3060\u3002<\/font><\/p>\n<pre class=\"prettyprint linenums\">A RANDOM PASSWORD HAS BEEN SET FOR THE MySQL root USER !\r\nYou will find that password in '\/root\/.mysql_secret'.<\/pre>\n<pre class=\"prettyprint linenums\"># rpm -ivh MySQL-client-5.6.14-1.linux_glibc2.5.i386.rpm<\/pre>\n<pre class=\"prettyprint linenums\"># rpm -ivh MySQL-devel-5.6.14-1.linux_glibc2.5.i386.rpm <\/pre>\n<h2>MySQL\u306e\u8d77\u52d5\u3068\u505c\u6b62<\/h2>\n<p>\u8d77\u52d5\u3068\u505c\u6b62\u3092\u884c\u3063\u3066\u307f\u308b\u3002<\/p>\n<h3>\u8d77\u52d5<\/h3>\n<pre class=\"prettyprint linenums\"># \/sbin\/service mysql start\r\nStarting MySQL.. SUCCESS! <\/pre>\n<h3>\u505c\u6b62<\/h3>\n<pre class=\"prettyprint linenums\"># \/sbin\/service mysql stop\r\nShutting down MySQL.. SUCCESS!<\/pre>\n<p>\u30e9\u30f3\u30ec\u30d9\u30eb 3 \u3067\u81ea\u52d5\u8d77\u52d5\u3055\u308c\u308b\u69d8\u306b\u8a2d\u5b9a\u3055\u308c\u305f\u304b\u78ba\u8a8d<\/p>\n<pre class=\"prettyprint linenums\"># chkconfig | grep \"mysql\"\r\nmysql           0:off   1:off   2:on    3:on    4:on    5:on    6:off<\/pre>\n<h2>\u30eb\u30fc\u30c8\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u5909\u66f4<\/h2>\n<h3>\u521d\u671f\u8a2d\u5b9a\u3055\u308c\u305f\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u78ba\u8a8d\u3059\u308b <\/h3>\n<pre class=\"prettyprint linenums\"># cat \/root\/.mysql_secret \r\n# The random password set for the root user at Mon Oct 14 23:19:35 2013 (local time): xsHn1DXH<\/pre>\n<h3>MySQL\u306b\u30ed\u30b0\u30a4\u30f3(\u4e0a\u8a18\u624b\u9806\u3067\u8d77\u52d5\u3055\u305b\u3066\u304a\u304f)<\/h3>\n<p>mysql -u root -p \u3067\u30ed\u30b0\u30a4\u30f3\u3059\u308b\u3068\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u5165\u529b\u3092\u6c42\u3081\u3089\u308c\u308b\u306e\u3067\u3001\u4e0a\u8a18\u3067\u78ba\u8a8d\u3057\u305f\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b\u3059\u308b\u3068\u3001mysql\u306e\u30d7\u30ed\u30f3\u30d7\u30c8\u304c\u8868\u793a\u3055\u308c\u308b\u3002<\/p>\n<pre class=\"prettyprint linenums\"># mysql -u root -p\r\nEnter password: \r\nWelcome to the MySQL monitor.  Commands end with ; or \\g.\r\nYour MySQL connection id is 2\r\nServer version: 5.6.14\r\n\r\nCopyright (c) 2000, 2013, Oracle and\/or its affiliates. All rights reserved.\r\n\r\nOracle is a registered trademark of Oracle Corporation and\/or its\r\naffiliates. Other names may be trademarks of their respective\r\nowners.\r\n\r\nType 'help;' or '\\h' for help. Type '\\c' to clear the current input statement.\r\n\r\nmysql&gt;<\/pre>\n<h3>\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5909\u66f4\u3059\u308b<\/h3>\n<pre class=\"prettyprint linenums\">mysql&gt; set password for 'root'@'localhost' = password('xxxxxxxx');\r\nQuery OK, 0 rows affected (0.00 sec)<\/pre>\n<p>\u4ee5\u4e0a\u3067\u3001MySQL\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u307e\u3067\u5b8c\u4e86\uff01<\/p>\n<p><a href=\"https:\/\/www.typea.info\/blog\/index.php\/2013\/10\/16\/serversmancentos_6_django_3_django\">\u6b21\u306f\u3001Django\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/a><\/p>\n<p><a href=\"http:\/\/www.amazon.co.jp\/gp\/product\/4798124230\/ref=as_li_ss_il?ie=UTF8&amp;camp=247&amp;creative=7399&amp;creativeASIN=4798124230&amp;linkCode=as2&amp;tag=typea09-22\"><img decoding=\"async\" border=\"0\" src=\"http:\/\/ws-fe.amazon-adsystem.com\/widgets\/q?_encoding=UTF8&amp;ASIN=4798124230&amp;Format=_SL160_&amp;ID=AsinImage&amp;MarketPlace=JP&amp;ServiceVersion=20070822&amp;WS=1&amp;tag=typea09-22\" \/><\/a><img loading=\"lazy\" decoding=\"async\" style=\"border-top-style: none !important; border-left-style: none !important; border-bottom-style: none !important; border-right-style: none !important; margin: 0px\" border=\"0\" alt=\"\" src=\"http:\/\/ir-jp.amazon-adsystem.com\/e\/ir?t=typea09-22&amp;l=as2&amp;o=9&amp;a=4798124230\" width=\"1\" height=\"1\" \/><a href=\"http:\/\/www.amazon.co.jp\/gp\/product\/4797369450\/ref=as_li_ss_il?ie=UTF8&amp;camp=247&amp;creative=7399&amp;creativeASIN=4797369450&amp;linkCode=as2&amp;tag=typea09-22\"><img decoding=\"async\" border=\"0\" src=\"http:\/\/ws-fe.amazon-adsystem.com\/widgets\/q?_encoding=UTF8&amp;ASIN=4797369450&amp;Format=_SL160_&amp;ID=AsinImage&amp;MarketPlace=JP&amp;ServiceVersion=20070822&amp;WS=1&amp;tag=typea09-22\" \/><\/a><img loading=\"lazy\" decoding=\"async\" style=\"border-top-style: none !important; border-left-style: none !important; border-bottom-style: none !important; border-right-style: none !important; margin: 0px\" border=\"0\" alt=\"\" src=\"http:\/\/ir-jp.amazon-adsystem.com\/e\/ir?t=typea09-22&amp;l=as2&amp;o=9&amp;a=4797369450\" width=\"1\" height=\"1\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u56de(ServersMan(CentOS 6) \u306b Django \u74b0\u5883\u3092\u69cb\u7bc9\u3059\u308b(1) Python2.7\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u307e\u3067) \u306b\u7d9a\u3044\u3066\u3001\u3001Django \u306e\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3068\u3057\u3066\u3001MySQL 5.6 \u3092\u5229\u7528\u3059\u308b\u3053 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"sns_share_botton_hide":"","vkExUnit_sns_title":"","_vk_print_noindex":"","sitemap_hide":"","_veu_custom_css":"","veu_display_promotion_alert":"","vkexunit_cta_each_option":"","footnotes":""},"categories":[29,59,57],"tags":[],"class_list":["post-367","post","type-post","status-publish","format-standard","hentry","category-django","category-mysql","category-database"],"veu_head_title_object":{"title":"","add_site_title":""},"_links":{"self":[{"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/posts\/367","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=367"}],"version-history":[{"count":0,"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/posts\/367\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=367"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=367"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.typea.info\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=367"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}