do not use password() in your own applications.

http://dev.mysql.com/doc/refman/5.1/en/encryption-functions.html#function_password

The PASSWORD() function is used by the authentication system in MySQL Server; you should not use it in your own applications. For that purpose, consider MD5() or SHA1() instead. Also see RFC 2195, section 2 (Challenge-Response Authentication Mechanism (CRAM)), for more information about handling passwords and authentication securely in your applications.

대강 password() 함수를 쓰지 말고
md5()나 sha1()을 써라"는 뜻.
|

댓글 1개

뒷 부분을 빼먹으신듯... 뒷 부분에 그 까닭이 나옵니다.

Important
Statements that invoke PASSWORD() may be recorded in server logs or in a history file such as ~/.mysql_history, which means that plaintext passwords may be read by anyone having read access to that information. See Section 5.3.2, “Password Security in MySQL”.

중요!
PASSWORD()를 실행하는 sql 구문이 서버의 로그 파일이나 '~/.mysql_history'와 같은 히스토리 파일에 기록될 가능성이 있습니다. 그것은 로그 파일이나 히스토리 파일에 접근 권한이 있는 누군가에 의해 암호화되지 않은 패스워드가 읽혀질 가능성이 있음을 의미합니다. 5.3.2 섹션 "MySQL에서의 패스워드 보안"을 참조하세요.

영어 부분을 긁어왔더니 댓글입력에서 지워지는 바람에 다시 번역해서 올립니다...
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

+
제목 글쓴이 날짜 조회
15년 전 조회 1,348
15년 전 조회 1,500
15년 전 조회 1,221
15년 전 조회 1,208
15년 전 조회 1,794
15년 전 조회 1,574
15년 전 조회 1,122
15년 전 조회 1,475
15년 전 조회 1,461
15년 전 조회 1,632
15년 전 조회 1,462
15년 전 조회 1,258
15년 전 조회 1,845
15년 전 조회 1,117
15년 전 조회 1,071
15년 전 조회 1,038
15년 전 조회 1,199
15년 전 조회 1,498
15년 전 조회 1,275
15년 전 조회 1,582
15년 전 조회 1,470
15년 전 조회 4,007
15년 전 조회 1,718
15년 전 조회 1,250
15년 전 조회 1,342
15년 전 조회 4,035
15년 전 조회 1,911
15년 전 조회 1,070
15년 전 조회 1,471
15년 전 조회 978
15년 전 조회 1,555
15년 전 조회 1,220
15년 전 조회 2,995
15년 전 조회 869
15년 전 조회 1,222
15년 전 조회 3,035
15년 전 조회 1,057
15년 전 조회 1,092
15년 전 조회 1,323
15년 전 조회 1,332
15년 전 조회 1,004
15년 전 조회 2,513
15년 전 조회 1,059
15년 전 조회 1,458
15년 전 조회 571
15년 전 조회 1,311
15년 전 조회 1,292
15년 전 조회 1,367
15년 전 조회 3,142
15년 전 조회 808
15년 전 조회 1,073
15년 전 조회 1,130
15년 전 조회 1,653
15년 전 조회 1,573
15년 전 조회 2,586
15년 전 조회 1,993
15년 전 조회 1,549
15년 전 조회 1,755
15년 전 조회 3,343
15년 전 조회 1,987
15년 전 조회 1,476
15년 전 조회 1,569
15년 전 조회 1,273
15년 전 조회 1,139
15년 전 조회 1,103
15년 전 조회 1,480
15년 전 조회 1,072
15년 전 조회 1,455
15년 전 조회 1,171
15년 전 조회 1,008
15년 전 조회 1,267
15년 전 조회 1,389
15년 전 조회 1,121
15년 전 조회 1,635
15년 전 조회 1,336
15년 전 조회 1,670
15년 전 조회 1,357
15년 전 조회 1,269
15년 전 조회 1,351
15년 전 조회 3,811
15년 전 조회 1,162
15년 전 조회 2,340
15년 전 조회 3,812
15년 전 조회 1,757
15년 전 조회 1,694
15년 전 조회 2,403
15년 전 조회 1,575
15년 전 조회 1,577
15년 전 조회 1,811
15년 전 조회 1,265
15년 전 조회 2,117
15년 전 조회 1,638
15년 전 조회 1,262
15년 전 조회 1,395
15년 전 조회 1,184
15년 전 조회 1,658
15년 전 조회 1,038
15년 전 조회 2,240
15년 전 조회 1,240
15년 전 조회 1,092