[Á°][¼¡][ÈÖ¹æ½ç°ìÍ÷][¥¹¥ì¥Ã¥É°ìÍ÷]

mysql:5504

From: Satoshi Tatsuoka <Satoshi Tatsuoka <satoshi@xxxxxxxxxx>>
Date: Wed, 15 May 2002 10:23:57 +0900
Subject: [mysql 05504] Re: SSH ¥Ý¡¼¥È¥Õ¥©¥ï¡¼¥Ç¥£¥ó¥°

Ω²¬¤Ç¤¹¡£

> SSH¤Î¥Ý¡¼¥È¥Õ¥©¥ï¡¼¥Ç¥£¥ó¥°¤òÍøÍѤ·¤Æmysql¥³¥Þ¥ó¥É¤Ç¾¤Î£Ä£Â¤Ë
> Àܳ¤¹¤ë¤Ë¤Ï¤É¤Î¤è¤¦¤Ë¤·¤¿¤é¤è¤¤¤Ç¤·¤ç¤¦¤«¡©
> 
> ssh -L 13306:ssh.server.name:3306 ssh.server.name

Àܳ¥µ¡¼¥Ð¡¼¤ÈMySQL¤òÆ°¤«¤¹¥µ¡¼¥Ð¡¼¤¬Æ±¤¸¤Ç¤¢¤ì¤Ð
ssh -L 13306:localhost:3306 ssh.server.name
¤Î¤Û¤¦¤¬Îɤ¤¤«¤â¤·¤ì¤Þ¤»¤ó¡£

> mysql -P13306 -Hlocalhost dbname
> ¤³¤ì¤Ç¤Ï¤À¤á¤Ê¤è¤¦¤Ç¤¹¡£

¥Û¥¹¥È¥ª¥×¥·¥ç¥ó¤Ï¾®Ê¸»ú¤Î-h¤Ç¤¹¤è¤Í¡£¤½¤ì¤Ï¤µ¤Æ¤ª¤­¡¢
mysql -P 13306 -h 127.0.0.1 dbname
¤ÈIP¤ò»ØÄꤹ¤ë¤È¤¦¤Þ¤¯¤¤¤¯¤è¤¦¤Ç¤¹¡£
¤Ç
mysql -P 13306 -h localhost dbname
¤Î¤È¤­¤Ï¤É¤¦¤Ê¤ë¤«¤È¤¤¤¦¤È¸«»ö¤Ë¥Ý¡¼¥È¤Ï̵»ë¤µ¤ì¤Æ
¥í¡¼¥«¥ë¤Çmysqld¤¬Æ°¤¤¤Æ¤¤¤ì¤Ð¤½¤³¤Ë¤Ä¤Ê¤¬¤Ã¤Æ¤·¤Þ¤¤¤Þ¤¹¡£
¡Ê¤Ê¤Ë¤«°Õ¿Þ¤¬¤¢¤ë¤Î¤«¤Ê¤¡¡©¥Ð¥°¤«¤Ê¤¡¡£¤ä¤Ã¤Ñ¤ê¡Ë

Satoshi Tatsuoka 
satoshi@xxxxxxxxxx


[Á°][¼¡][ÈÖ¹æ½ç°ìÍ÷][¥¹¥ì¥Ã¥É°ìÍ÷]

      5503 2002-05-15 08:34 [¡Ê³ô¡Ë¥³¥Þ¥ê¥è¡¼ »³Ë] SSH ¥Ý¡¼¥È¥Õ¥©¥ï¡¼¥Ç¥£¥ó¥°              
->    5504 2002-05-15 10:23 ¨±[Satoshi Tatsuoka <sa]                                       
      5505 2002-05-15 10:41 ¡¡¨±[¡Ê³ô¡Ë¥³¥Þ¥ê¥è¡¼ »³Ë]                                     
      5506 2002-05-15 11:05 ¡¡¡¡¨±[Satoshi Tatsuoka <sa]