mysql ¸Þ½ÃÁö Warning: Using a password on the command line interface can be insecure. Áú¹®

chotws   
   Á¶È¸ 2569   Ãßõ 0    

 

우분투 14.04에 mysql 5.6.33을 설치했습니다.
그리고 백업스크립트를 만들었는데 
Warning: Using a password on the command line interface can be insecure.
5.6이상부턴 보안이 강화?되어서 그렇다고 하네요,
이런 메시지가 나오면서 백업이 되긴 합니다. 찾아보니깐 그냥 경고메시지라 상관은 없는데 괜찮은건지 모르게네요.

그리고 mysql_config_editor로 설정은 했습니다.(login-path 부분)

ªÀº±Û Àϼö·Ï ½ÅÁßÇÏ°Ô.
º¸¾È °­È­´Â µû¸£´Â°Ô ÁÁÁÒ.
mysql_config_editor·Î ¼³Á¤Çϸé Warning »ç¶óÁöÁö ¾Ê³ª¿ä?
     
chotws 2019-05
login-path ºÎºÐµµ È®ÀÎÇߴµ¥ ¼³Á¤µÇ¾î ÀÖ¾î¿ä.
mysql_config_editor print --all

[1]
user = °èÁ¤
password = *****
host = localhost
mysqldump --login-path=1 [µ¥ÀÌÅͺ£À̽º¸í] > /¹é¾÷°æ·Î/¹é¾÷ÆÄÀϸí.sql
ÀÌ·±½ÄÀ¸·Î »ç¿ëÇÏ¸é ¿À·ù ³ªÁö ¾ÊÀ» ÅÙµ¥¿ä.

Âü°íÇϼ¼¿ä : https://blog.naver.com/hailey_jo/221517748127


óÀ½À¸·Î (224,913)
Á¦¸ñ
2CPU : ÀÚÀ¯°Ô½ÃÆÇ 05-11   110   Áø½ÅµÎ
2CPU : ÀÚÀ¯°Ô½ÃÆÇ 05-11   121   NeOpLE
2CPU : ÀÚÀ¯°Ô½ÃÆÇ 05-11   141   Win31
2CPU : QnA 05-11   2733   ³ì¾ß»ê
2CPU : ÆǸŠ05-11   735   ²Ù¶ì¿÷
2CPU : ÆǸŠ05-11   654   ½Ã°ñ³ëÀÎ
2CPU : ÆǸŠ05-11   427   ¸ð½º¿ùµå
2CPU : ÀÚÀ¯°Ô½ÃÆÇ 05-11   313   À©98
¿Ï·á (17)
2CPU : ÆǸŠ05-11   541   ±èº´Ã¶
2CPU : ÀÚÀ¯°Ô½ÃÆÇ 05-11   189   À©98
2CPU : ÀÚÀ¯°Ô½ÃÆÇ 05-11   174   ÀÓ½ÃÇö
2CPU : ÆǸŠ05-11   324   ²Ù¶ì¿÷
, (5)
2CPU : ÆǸŠ05-11   300   ÁعÙÀÌ
2CPU : ÀÚÀ¯°Ô½ÃÆÇ 05-11   105   ÇູÇϼ¼
2CPU : ÀÚÀ¯°Ô½ÃÆÇ 05-11   531   ³ªºñz