Windows7 ¤Ë MySQL5 ¤Î ZIP ÈǤò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë
¤³¤Î¥Ú¡¼¥¸¤Ç¤Ï Windows7 ¤Ë MySQL5 ¤ò ZIP ¤«¤é¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ëÊýË¡¤òÀâÌÀ¤·¤Þ¤¹¡£
¥¤¥ó¥¹¥È¡¼¥é¡¼¤ò»ÈÍѤ»¤º¤Ë MySQL ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤¿¤¤¿Í¤Ï»²¹Í¤Ë¤·¤Æ¤¯¤À¤µ¤¤¡£
¼ÂºÝ¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤·¤¿ºÝ¤Î¥Ð¡¼¥¸¥ç¥ó¤Î¾ðÊó¤Ï°Ê²¼¤ÎÄ̤ê¤Ç¤¹¡£
Windows 7 Home Premium Service Pack 1
MySQL 5.6.21
¾°¡¢MySQL5 ¤Ï¸ø¼°¥Ú¡¼¥¸¤«¤é̵ÎÁ¤Ç¥À¥¦¥ó¥í¡¼¥É¤¹¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£¥À¥¦¥ó¥í¡¼¥ÉÊýË¡¤Ï¤³¤Î¥Ú¡¼¥¸¤Ç¸å½Ò¤·¤Þ¤¹¡£
MySQL¤Î¥¤¥ó¥¹¥È¡¼¥ë¡õÀܳ¥Æ¥¹¥È¼ê½ç
- Windows7 ¤¬ 32 ¥Ó¥Ã¥ÈÈÇ¤È 64 ¥Ó¥Ã¥ÈÈǤΤɤÁ¤é¤«¤ò³Îǧ¤¹¤ë¡£
- MySQL5 ¤Î ZIP ÈǤò¥À¥¦¥ó¥í¡¼¥É¤¹¤ë¡£
- ¥À¥¦¥ó¥í¡¼¥É¤·¤¿ MySQL5 ¤ò²òÅह¤ë¡£
- MySQL5 ¤ÎÀßÄê¥Õ¥¡¥¤¥ë¡Ê ini ¥Õ¥¡¥¤¥ë¡Ë¤òÊÔ½¸¤¹¤ë¡£
- MySQL ¥µ¡¼¥Ð¡¼¤òµ¯Æ°¤·¤Æ¤ß¤ë¡£
- MySQL ¥µ¡¼¥Ð¡¼¤ËÀܳ¤·¤Æ¤ß¤ë¡£
- ´ÉÍý¼Ô¥æ¡¼¥¶¡¼ root ¤Ë¥Ñ¥¹¥ï¡¼¥É¤òÀßÄꤹ¤ë¡£
- MySQL ¥µ¡¼¥Ð¡¼¤ò¥·¥ã¥Ã¥È¥À¥¦¥ó¤¹¤ë¡£
Windows7 ¤¬ 32 ¥Ó¥Ã¥ÈÈÇ¤È 64 ¥Ó¥Ã¥ÈÈǤΤɤÁ¤é¤«¤ò³Îǧ¤¹¤ë¡£
Windows7 ¤Ï 32 ¥Ó¥Ã¥ÈÈÇ¤È 64 ¥Ó¥Ã¥ÈÈǤΣ²¼ïÎब¤¢¤ê¡¢MySQL 5 ¤â¤½¤ì¤¾¤ì¤Î¥Ð¡¼¥¸¥ç¥ó¤ËÂбþ¤·¤¿¥×¥í¥°¥é¥à¤¬ÍÑ°Õ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£
MySQL5 ¤ò¥À¥¦¥ó¥í¡¼¥É¤¹¤ëºÝ¤Ë¤Ï¼«Ê¬¤Î Windows 7 ¤Î¥Ð¡¼¥¸¥ç¥ó¤ËÂбþ¤·¤¿¤â¤Î¤ò¥À¥¦¥ó¥í¡¼¥É¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¤Î¤Ç¡¢»öÁ°¤Ë¤É¤Á¤é¤«¤ò³Îǧ¤·¤Æ¤ª¤¤Þ¤·¤ç¤¦¡£
[¥¹¥¿¡¼¥È]¡¡¢ª¡¡[¥³¥ó¥È¥í¡¼¥ë¥Ñ¥Í¥ë]¡¡¢ª¡¡[¥·¥¹¥Æ¥à]¡¡¤ò³«¤¯¤È¡¢¼¡¤Î¤è¤¦¤Ê²èÌ̤¬É½¼¨¤µ¤ì32¥Ó¥Ã¥ÈÈǤÈ64¥Ó¥Ã¥ÈÈǤΤɤÁ¤é¤«¤ò³Îǧ¤¹¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£
MySQL5 ¤Î ZIP ÈǤò¥À¥¦¥ó¥í¡¼¥É¤¹¤ë¡£
MySQL5 ¤Ï MySQL ¤Î¸ø¼°¥µ¥¤¥È¤«¤é̵ÎÁ¤Ç¥À¥¦¥ó¥í¡¼¥É¤Ç¤¤Þ¤¹¡£
MySQL ¸ø¼°¥µ¥¤¥È¤Î¥À¥¦¥ó¥í¡¼¥É¥Ú¡¼¥¸¡Êhttp://dev.mysql.com/downloads/mysql/¡Ë
¾åµ¤Î¥ê¥ó¥¯Àè¤ò³«¤¤¤¿¤é¡¢²¼¤Ë¥¹¥¯¥í¡¼¥ë¤·¤Æ¤ß¤Æ¤¯¤À¤µ¤¤¡£
32¥Ó¥Ã¥ÈÍÑ¤È 64 ¥Ó¥Ã¥ÈÍѤΠMySQL5 ¡ÊZIPÈǡˤΥÀ¥¦¥ó¥í¡¼¥É¥Ü¥¿¥ó¤¬¤¢¤ë¤«¤È»×¤¤¤Þ¤¹¡£
¾åµ¤Î¥Ú¡¼¥¸¤Ç¥À¥¦¥ó¥í¡¼¥É¥Ü¥¿¥ó¤ò¥¯¥ê¥Ã¥¯¤¹¤ë¤È¡¢¼¡¤Î¤è¤¦¤Ê²èÌ̤¬É½¼¨¤µ¤ì¤ë¤È»×¤¤¤Þ¤¹¡£
¥í¥°¥¤¥ó¥Ü¥¿¥ó¤È¥µ¥¤¥ó¥¢¥Ã¥×¡Ê¥¢¥«¥¦¥ó¥ÈºîÀ®¡Ë¥Ü¥¿¥ó¤¬¤¢¤ê¡¢¥¢¥«¥¦¥ó¥È¤ò»ý¤Ã¤Æ¤¤¤Ê¤¤¤È¥À¥¦¥ó¥í¡¼¥É¤Ç¤¤Ê¤½¤¦¤Ê´¶¤¸¤¬¤·¤Þ¤¹¤¬¡¢¥¢¥«¥¦¥ó¥È¤òºîÀ®¤·¤Ê¤¤¤Ç¤â¥À¥¦¥ó¥í¡¼¥É¤Ç¤¤Þ¤¹¡£
¥¢¥«¥¦¥ó¥È¤òºîÀ®¤·¤Ê¤¤¤Ç MySQL ¤ò¥À¥¦¥ó¥í¡¼¥É¤¹¤ë¤Ë¤Ï¡¢ No thanks, just start my download. ¤È¤¤¤¦¥ê¥ó¥¯¤ò¥¯¥ê¥Ã¥¯¤·¤Þ¤¹¡£
¤³¤Á¤é¤Î¥ê¥ó¥¯¤ò¥¯¥ê¥Ã¥¯¤¹¤ë¤³¤È¤Ç¡¢¥í¥°¥¤¥ó¤»¤º¤Ë MySQL5 ¤òÆþ¼ê²Äǽ¤Ç¤¹¡£
¥À¥¦¥ó¥í¡¼¥É¤·¤¿ MySQL5 ¤ò²òÅह¤ë¡£
MySQL5 ¤Î¥À¥¦¥ó¥í¡¼¥É¤¬´°Î»¤·¤¿¤é¡¢Ç¤°Õ¤Î¥Õ¥©¥ë¥À¤Ë ZIP ¥Õ¥¡¥¤¥ë¤ò²òÅष¤ÆŸ³«¤·¤Þ¤¹¡£
¼¡¤Î¤è¤¦¤Ë¡¢º£²ó¤Ï D:\app\mysql5.6.21 ¤È¤¤¤¦¥Õ¥©¥ë¥À¤Ë²òÅष¤Æ¤ß¤Þ¤·¤¿¡£
MySQL5 ¤ÎÀßÄê¥Õ¥¡¥¤¥ë¡Ê ini ¥Õ¥¡¥¤¥ë¡Ë¤òÊÔ½¸¤¹¤ë¡£
MySQL5 ¤ò²òÅष¤¿¤é¡¢¼¡¤ÏÀßÄê¥Õ¥¡¥¤¥ë¤ËɬÍפÊÀßÄê¤ò½ñ¤¹þ¤ß¤Þ¤¹¡£
ÀßÄê¥Õ¥¡¥¤¥ë¡Ê my.ini ¡Ë¤Ï²òÅàľ¸å¤Ï¸ºß¤·¤Ê¤¤¤Î¤Ç¡¢my-default.ini ¤È¤¤¤¦¥Õ¥¡¥¤¥ë¤ò¥³¥Ô¡¼¤·¤Æ my.ini ¤È¤¤¤¦Ì¾Á°¤Ë¤·¤Þ¤¹¡£
my.ini ¤òºîÀ®¤·¤¿¤é¡¢¥Æ¥¥¹¥È¥¨¥Ç¥£¥¿¤Ç³«¤¤¤ÆÊÔ½¸¤·¤Þ¤·¤ç¤¦¡£ÊÔ½¸¤Ï Windows7 ¤Ëɸ½à¤ÇÉÕ°¤·¤Æ¤¤¤ë¥á¥âÄ¢¤ÇÂç¾æÉפǤ¹¡£
7 ¹ÔÌܤΠ[mysqld] ¤è¤ê²¼¤Ë°Ê²¼¤Îµ½Ò¤òÄɲä·¤Þ¤¹¡£
[mysqld] character_set_server = utf8 collation_server = utf8_general_ci explicit_defaults_for_timestamp = TRUE
¤Á¤Ê¤ß¤Ë my-default.ini ¤Ï°ìÀÚÊÔ½¸¤»¤º¤Ë½é´üÀßÄê¤Î¥Ð¥Ã¥¯¥¢¥Ã¥×¤È¤·¤Æ»Ä¤·¤Æ¤ª¤¤Þ¤¹¡£
MySQL ¥µ¡¼¥Ð¡¼¤òµ¯Æ°¤·¤Æ¤ß¤ë¡£
MySQL ¥µ¡¼¥Ð¡¼¤Îµ¯Æ°¤Ï¡¢¤¤¤ï¤æ¤ë DOSÁë¤È¸Æ¤Ð¤ì¤ë¥³¥Þ¥ó¥É¥×¥í¥ó¥×¥È¤«¤é¹Ô¤¦¤³¤È¤¬¤Ç¤¤Þ¤¹¡£
DOSÁë¤Ï [¥¹¥¿¡¼¥È]¡¡¢ª¡¡[¥×¥í¥°¥é¥à¤È¥Õ¥¡¥¤¥ë¤Î¸¡º÷]¡¡¤Ë cmd ¤ÈÂǤÁ¹þ¤ó¤Ç¥¨¥ó¥¿¡¼¥¡¼¤ò²¡²¼¤¹¤ë¤Èµ¯Æ°¤Ç¤¤Þ¤¹¡£
¥³¥Þ¥ó¥É¥×¥í¥ó¥×¥È¤òµ¯Æ°¤·¤¿¤é¡¢MySQL5 ¤ò²òÅष¤ÆŸ³«¤·¤¿¥Õ¥©¥ë¥À¤Ë°ÜÆ°¤·¤Þ¤¹¡£
º£²ó¤ÎÎã¤Ç¤Ï D:\app\mysql5.6.21 ¤Ë²òÅष¤Æ¤¤¤ë¤Î¤Ç
¡ d: ¤ÈÆþÎÏ¡ÊD¥É¥é¥¤¥Ö¤ËÀÚ¤êÂؤ¨¡Ë
¢ cd d:\app\mysql5.6.21 ¤ÈÆþÎÏ
¤¹¤ë¤³¤È¤Ç MySQL ¤Î¥¤¥ó¥¹¥È¡¼¥ë¥Õ¥©¥ë¥À¤Ë°ÜÆ°¤·¤Þ¤¹¡£
¤µ¤é¤Ë¤½¤³¤«¤é bin ¥Õ¥©¥ë¥À¤Ë°ÜÆ°¤·¤Þ¤¹¡£
£ cd bin ¤ÈÆþÎÏ
¤³¤Î bin ¥Õ¥©¥ë¥À¤Ë¤Ï¡¢MySQL ¤Îµ¯Æ°¤ä´ÉÍýÅù¤ËɬÍפÊÍÍ¡¹¤Ê exe ¥Õ¥¡¥¤¥ë¤¬³ÊǼ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£
C:\Users\mysql_test>d: ¢« D¥É¥é¥¤¥Ö¤ËÀÚÂØ D:\>cd d:\app\mysql5.6.21 ¢« MySQL ¤Î¥ë¡¼¥È¥Õ¥©¥ë¥À¤Ë°ÜÆ° d:\app\mysql5.6.21>cd bin ¢« ¥³¥Þ¥ó¥É¤¬³ÊǼ¤µ¤ì¤¿¥Õ¥©¥ë¥À¤Ë°ÜÆ° d:\app\mysql5.6.21\bin>
¤³¤³¤Ç¼¡¤Î¤è¤¦¤Ë mysqld ¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤¹¤ë¤È MySQL ¥µ¡¼¥Ð¡¼¤òµ¯Æ°¤·¤Þ¤¹¡£
Windows ¤«¤é¥»¥¥å¥ê¥Æ¥£·Ù¹ð¤¬½Ð¤ë¾ì¹ç¤¬¤¢¤ê¤Þ¤¹¤¬¡¢¤½¤Î¾ì¹ç¤Ï¥¢¥¯¥»¥¹¤òµö²Ä¤¹¤ë¤òÁªÂò¤·¤Þ¤¹¡£
Àµ¤·¤¯µ¯Æ°¤¹¤ì¤Ð¡¢[Note] mysqld: ready for connections.¤Èɽ¼¨¤µ¤ì¤¿¸å¤Ë¥Ð¡¼¥¸¥ç¥ó¤ä¥Ý¡¼¥ÈÈÖ¹æ¤Î¾ðÊó¤Ê¤É¤¬É½¼¨¤µ¤ì¤Þ¤¹¡£
d:\app\mysql5.6.21\bin>mysqld --console 2014-11-30 06:35:50 5340 [Note] Plugin 'FEDERATED' is disabled. 2014-11-30 06:35:50 5340 [Note] InnoDB: Using atomics to ref count buffer pool p ages 2014-11-30 06:35:50 5340 [Note] InnoDB: The InnoDB memory heap is disabled 2014-11-30 06:35:50 5340 [Note] InnoDB: Mutexes and rw_locks use Windows interlo cked functions 2014-11-30 06:35:50 5340 [Note] InnoDB: Memory barrier is not used 2014-11-30 06:35:50 5340 [Note] InnoDB: Compressed tables use zlib 1.2.3 2014-11-30 06:35:50 5340 [Note] InnoDB: Not using CPU crc32 instructions 2014-11-30 06:35:50 5340 [Note] InnoDB: Initializing buffer pool, size = 128.0M 2014-11-30 06:35:50 5340 [Note] InnoDB: Completed initialization of buffer pool 2014-11-30 06:35:50 5340 [Note] InnoDB: Highest supported file format is Barracu da. 2014-11-30 06:35:51 5340 [Note] InnoDB: 128 rollback segment(s) are active. 2014-11-30 06:35:51 5340 [Note] InnoDB: Waiting for purge to start 2014-11-30 06:35:51 5340 [Note] InnoDB: 5.6.21 started; log sequence number 1626 233 2014-11-30 06:35:51 5340 [Note] Server hostname (bind-address): '*'; port: 3306 2014-11-30 06:35:51 5340 [Note] IPv6 is available. 2014-11-30 06:35:51 5340 [Note] - '::' resolves to '::'; 2014-11-30 06:35:51 5340 [Note] Server socket created on IP: '::'. 2014-11-30 06:35:51 5340 [Note] Event Scheduler: Loaded 0 events 2014-11-30 06:35:51 5340 [Note] mysqld: ready for connections. Version: '5.6.21' socket: '' port: 3306 MySQL Community Server (GPL)
MySQL ¥µ¡¼¥Ð¡¼¤ËÀܳ¤·¤Æ¤ß¤ë¡£
mysql ¤ËÀܳ¤¹¤ë¤Ë¤Ï mysql ¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤Þ¤¹¡£
¤Þ¤º¤ÏÀè¤Û¤É mysqld ¤òµ¯Æ°¤·¤¿¤È¤¤ÈƱ¤¸¥Õ¥©¥ë¥À¤Ë°ÜÆ°¤·¡¢¤½¤Î¸å¤Ç mysql -u root ¤ÈÆþÎϤ·¤Þ¤¹¡£
D:\app\mysql5.6.21\bin>mysql -u root Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 2 Server version: 5.6.21 MySQL Community Server (GPL) Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql>
¾åµ¤Î¤è¤¦¤Ë mysql> ¤ÇÂÔ¤Á¾õÂ֤ˤʤì¤ÐÀµ¾ï¤ËÀܳ¤Ç¤¤Æ¤¤¤Þ¤¹¡£
¤Á¤Ê¤ß¤Ë -u root ¤È¤¤¤¦¤Î¤Ï¡¢root ¤È¤¤¤¦Ì¾Á°¤Î¥æ¡¼¥¶¡¼¤ÇÀܳ¤¹¤ë¡¢¤È¤¤¤¦°ÕÌ£¤Ç¤¹¡£
mysql ¤Ç¤Ï¥Ç¥Õ¥©¥ë¥È¤Ç´ÉÍý¼ÔÍѤΥ桼¥¶¡¼ root ¤¬ÍÑ°Õ¤µ¤ì¤Æ¤¤¤ë¤Î¤Ç¡¢¥æ¡¼¥¶¡¼¤òºîÀ®¤·¤Ê¤¯¤Æ¤â root ¤ÇÀܳ¤¹¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£
´ÉÍý¼Ô¥æ¡¼¥¶¡¼ root ¤Ë¥Ñ¥¹¥ï¡¼¥É¤òÀßÄꤹ¤ë¡£
½é´üÀßÄê¤Ç¤Ï´ÉÍý¼Ô root ¤Ë¥Ñ¥¹¥ï¡¼¥É¤¬ÀßÄꤵ¤ì¤Æ¤¤¤Ê¤¤¤Î¤Ç¡¢¤â¤·É¬ÍפǤ¢¤ì¤Ð¥Ñ¥¹¥ï¡¼¥É¤òÀßÄꤷ¤Æ¤ª¤¤Þ¤¹¡£
¥Ñ¥¹¥ï¡¼¥É¤Ï SET PASSWORD = password('ÀßÄꤷ¤¿¤¤¥Ñ¥¹¥ï¡¼¥É'); ¤ÇÀßÄê¤Ç¤¤Þ¤¹¡£
¼¡¤ÎÎã¤Ç¤Ï¡¢¥Ñ¥¹¥ï¡¼¥É¤ò hogehoge ¤ËÀßÄꤷ¤Æ¤¤¤Þ¤¹¡£
mysql> SET PASSWORD = password('hogehoge'); Query OK, 0 rows affected (0.00 sec) mysql>
ËÜÅö¤Ë¥Ñ¥¹¥ï¡¼¥É¤¬ÀßÄꤵ¤ì¤¿¤« exit; ¤Ç MySQL ¤«¤éÀÚÃǤ·¤¿¸å¡¢ºÆÀܳ¤·¤Æ»î¤·¤Æ¤ß¤Þ¤¹¡£
mysql> exit Bye D:\app\mysql5.6.21\bin>mysql -u root ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: N O) D:\app\mysql5.6.21\bin>
¥Ñ¥¹¥ï¡¼¥É¤¬ÀßÄꤵ¤ì¤Æ¤¤¤ë¤Î¤Ç¡¢¥Ñ¥¹¥ï¡¼¥É̵¤·¤Î¥¢¥¯¥»¥¹¤ÏµñÈݤµ¤ì¤Þ¤·¤¿¡£
Àܳ»þ¤Ë¥Ñ¥¹¥ï¡¼¥É¤òÁ÷¿®¤¹¤ë¤Ë¤Ï mysql ¥³¥Þ¥ó¥É¤Î°ú¿ô¤Ë -p ¤òÄɲä·¤Þ¤¹¡£
Àè¤Û¤É¤Î¥³¥Þ¥ó¥É¤Ë -p ¤òÄɲä·¤Æ mysql -u root -p ¤ò¼Â¹Ô¤·¤Æ¤ß¤ë¤È¥Ñ¥¹¥ï¡¼¥É¤ÎÆþÎϤ¬µá¤á¤é¤ì¤ë¤Î¤Ç¡¢Àè¤Û¤ÉÀßÄꤷ¤¿¥Ñ¥¹¥ï¡¼¥É¤òÆþÎϤ·¤Þ¤¹¡£¡£
D:\app\mysql5.6.21\bin>mysql -u root -p
Enter password: ******** ¢« Àè¤Û¤ÉÀßÄꤷ¤¿¥Ñ¥¹¥ï¡¼¥É¤òÆþÎÏ
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 4
Server version: 5.6.21 MySQL Community Server (GPL)
Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql>
¼¡¤Ë¥µ¡¼¥Ð¡¼¤ò¥·¥ã¥Ã¥È¥À¥¦¥ó¤·¤Æ¤ß¤ë¤Î¤Ç¡¢¥í¥°¥¤¥ó¤·¤¿¥æ¡¼¥¶¡¼¤Ï exit ¤Ç¥í¥°¥¢¥¦¥È¤·¤Æ¤ª¤¤Þ¤¹¡£
mysql> exit Bye
MySQL ¥µ¡¼¥Ð¡¼¤ò¥·¥ã¥Ã¥È¥À¥¦¥ó¤¹¤ë¡£
MySQL ¥µ¡¼¥Ð¡¼¤òÍî¤È¤¹¤Ë¤Ï mysqladmin shutdown -u root -p ¤ò¼Â¹Ô¤·¤Þ¤¹¡£
¥·¥ã¥Ã¥È¥À¥¦¥ó¤Ï root ¥æ¡¼¥¶¡¼¤Î¸¢¸Â¤Ç¼Â¹Ô¤¹¤ëɬÍפ¬¤¢¤ë¤Î¤Ç -u root ¤ò»ØÄꤷ¤Æ¤¤¤Þ¤¹¡£
¤Þ¤¿ root ¥æ¡¼¥¶¡¼¤Ë¥Ñ¥¹¥ï¡¼¥É¤òÀßÄꤷ¤Æ¤¤¤ë¾ì¹ç¤Ë¤Ï¡¢¥í¥°¥¤¥ó»þ¤ÈƱÍÍ¤Ë -p ¤â»ØÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
D:\app\mysql5.6.21\bin>mysqladmin shutdown -u root -p Enter password: ******** D:\app\mysql5.6.21\bin>
¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤·¤¿Êý¤Î¥¦¥¤¥ó¥É¥¦¤Ë¤Ï²¿¤âɽ¼¨¤µ¤ì¤Þ¤»¤ó¤¬¡¢mysqld ¤ò¼Â¹Ô¤·¤Æ¤¤¤ë¥¦¥¤¥ó¥É¥¦¤ò¸«¤Æ¤ß¤ë¤È¡¢¥·¥ã¥Ã¥È¥À¥¦¥ó¤¬¼Â¹Ô¤µ¤ì¤Æ¤¤¤ë¤³¤È¤¬Ê¬¤«¤ê¤Þ¤¹¡£
2014-11-30 09:37:00 3500 [Note] Giving 0 client threads a chance to die graceful ly 2014-11-30 09:37:00 3500 [Note] Event Scheduler: Purging the queue. 0 events 2014-11-30 09:37:00 3500 [Note] Shutting down slave threads 2014-11-30 09:37:00 3500 [Note] Forcefully disconnecting 0 remaining clients 2014-11-30 09:37:00 3500 [Note] Binlog end 2014-11-30 09:37:00 3500 [Note] Shutting down plugin 'partition' 2014-11-30 09:37:00 3500 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA' 2014-11-30 09:37:00 3500 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES' 2014-11-30 09:37:00 3500 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES' 2014-11-30 09:37:00 3500 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS' 2014-11-30 09:37:00 3500 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN' 2014-11-30 09:37:00 3500 [Note] Shutting down plugin 'INNODB_SYS_FIELDS' 2014-11-30 09:37:00 3500 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS' 2014-11-30 09:37:00 3500 [Note] Shutting down plugin 'INNODB_SYS_INDEXES' 2014-11-30 09:37:00 3500 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS' 2014-11-30 09:37:00 3500 [Note] Shutting down plugin 'INNODB_SYS_TABLES' 2014-11-30 09:37:00 3500 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE' 2014-11-30 09:37:00 3500 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE' 2014-11-30 09:37:00 3500 [Note] Shutting down plugin 'INNODB_FT_CONFIG' 2014-11-30 09:37:00 3500 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED' 2014-11-30 09:37:00 3500 [Note] Shutting down plugin 'INNODB_FT_DELETED' 2014-11-30 09:37:00 3500 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD ' 2014-11-30 09:37:00 3500 [Note] Shutting down plugin 'INNODB_METRICS' 2014-11-30 09:37:00 3500 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS' 2014-11-30 09:37:00 3500 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU' 2014-11-30 09:37:00 3500 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE' 2014-11-30 09:37:00 3500 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET ' 2014-11-30 09:37:00 3500 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX' 2014-11-30 09:37:00 3500 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET' 2014-11-30 09:37:00 3500 [Note] Shutting down plugin 'INNODB_CMPMEM' 2014-11-30 09:37:00 3500 [Note] Shutting down plugin 'INNODB_CMP_RESET' 2014-11-30 09:37:00 3500 [Note] Shutting down plugin 'INNODB_CMP' 2014-11-30 09:37:00 3500 [Note] Shutting down plugin 'INNODB_LOCK_WAITS' 2014-11-30 09:37:00 3500 [Note] Shutting down plugin 'INNODB_LOCKS' 2014-11-30 09:37:00 3500 [Note] Shutting down plugin 'INNODB_TRX' 2014-11-30 09:37:00 3500 [Note] Shutting down plugin 'InnoDB' 2014-11-30 09:37:00 3500 [Note] InnoDB: FTS optimize thread exiting. 2014-11-30 09:37:00 3500 [Note] InnoDB: Starting shutdown... 2014-11-30 09:37:01 3500 [Note] InnoDB: Shutdown completed; log sequence number 1626253 2014-11-30 09:37:01 3500 [Note] Shutting down plugin 'BLACKHOLE' 2014-11-30 09:37:01 3500 [Note] Shutting down plugin 'ARCHIVE' 2014-11-30 09:37:01 3500 [Note] Shutting down plugin 'MRG_MYISAM' 2014-11-30 09:37:01 3500 [Note] Shutting down plugin 'MyISAM' 2014-11-30 09:37:01 3500 [Note] Shutting down plugin 'MEMORY' 2014-11-30 09:37:01 3500 [Note] Shutting down plugin 'CSV' 2014-11-30 09:37:01 3500 [Note] Shutting down plugin 'sha256_password' 2014-11-30 09:37:01 3500 [Note] Shutting down plugin 'mysql_old_password' 2014-11-30 09:37:01 3500 [Note] Shutting down plugin 'mysql_native_password' 2014-11-30 09:37:01 3500 [Note] Shutting down plugin 'binlog' 2014-11-30 09:37:01 3500 [Note] mysqld: Shutdown complete d:\app\mysql5.6.21\bin>