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,340
15년 전 조회 1,496
15년 전 조회 1,217
15년 전 조회 1,204
15년 전 조회 1,792
15년 전 조회 1,571
15년 전 조회 1,120
15년 전 조회 1,470
15년 전 조회 1,460
15년 전 조회 1,630
15년 전 조회 1,458
15년 전 조회 1,256
15년 전 조회 1,841
15년 전 조회 1,113
15년 전 조회 1,069
15년 전 조회 1,035
15년 전 조회 1,196
15년 전 조회 1,494
15년 전 조회 1,273
15년 전 조회 1,578
15년 전 조회 1,463
15년 전 조회 4,000
15년 전 조회 1,716
15년 전 조회 1,245
15년 전 조회 1,339
15년 전 조회 4,030
15년 전 조회 1,908
15년 전 조회 1,062
15년 전 조회 1,469
15년 전 조회 973
15년 전 조회 1,551
15년 전 조회 1,215
15년 전 조회 2,992
15년 전 조회 865
15년 전 조회 1,218
15년 전 조회 3,031
15년 전 조회 1,050
15년 전 조회 1,087
15년 전 조회 1,318
15년 전 조회 1,331
15년 전 조회 1,002
15년 전 조회 2,512
15년 전 조회 1,056
15년 전 조회 1,451
15년 전 조회 568
15년 전 조회 1,307
15년 전 조회 1,288
15년 전 조회 1,365
15년 전 조회 3,140
15년 전 조회 804
15년 전 조회 1,071
15년 전 조회 1,127
15년 전 조회 1,646
15년 전 조회 1,567
15년 전 조회 2,580
15년 전 조회 1,990
15년 전 조회 1,544
15년 전 조회 1,752
15년 전 조회 3,342
15년 전 조회 1,980
15년 전 조회 1,472
15년 전 조회 1,565
15년 전 조회 1,273
15년 전 조회 1,138
15년 전 조회 1,102
15년 전 조회 1,478
15년 전 조회 1,071
15년 전 조회 1,452
15년 전 조회 1,168
15년 전 조회 1,006
15년 전 조회 1,260
15년 전 조회 1,386
15년 전 조회 1,118
15년 전 조회 1,626
15년 전 조회 1,335
15년 전 조회 1,669
15년 전 조회 1,355
15년 전 조회 1,265
15년 전 조회 1,348
15년 전 조회 3,808
15년 전 조회 1,159
15년 전 조회 2,336
15년 전 조회 3,808
15년 전 조회 1,749
15년 전 조회 1,691
15년 전 조회 2,402
15년 전 조회 1,572
15년 전 조회 1,570
15년 전 조회 1,807
15년 전 조회 1,258
15년 전 조회 2,112
15년 전 조회 1,634
15년 전 조회 1,257
15년 전 조회 1,395
15년 전 조회 1,182
15년 전 조회 1,656
15년 전 조회 1,034
15년 전 조회 2,236
15년 전 조회 1,237
15년 전 조회 1,090