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,282
15년 전 조회 1,423
15년 전 조회 1,140
15년 전 조회 1,140
15년 전 조회 1,721
15년 전 조회 1,490
15년 전 조회 1,046
15년 전 조회 1,407
15년 전 조회 1,385
15년 전 조회 1,561
15년 전 조회 1,384
15년 전 조회 1,182
15년 전 조회 1,765
15년 전 조회 1,030
15년 전 조회 987
15년 전 조회 969
15년 전 조회 1,127
15년 전 조회 1,426
15년 전 조회 1,201
15년 전 조회 1,500
15년 전 조회 1,395
15년 전 조회 3,928
15년 전 조회 1,644
15년 전 조회 1,184
15년 전 조회 1,259
15년 전 조회 3,960
15년 전 조회 1,834
15년 전 조회 995
15년 전 조회 1,411
15년 전 조회 892
15년 전 조회 1,478
15년 전 조회 1,140
15년 전 조회 2,916
15년 전 조회 794
15년 전 조회 1,137
15년 전 조회 2,955
15년 전 조회 980
15년 전 조회 1,009
15년 전 조회 1,251
15년 전 조회 1,266
15년 전 조회 930
15년 전 조회 2,439
15년 전 조회 993
15년 전 조회 1,386
15년 전 조회 492
15년 전 조회 1,247
15년 전 조회 1,213
15년 전 조회 1,287
15년 전 조회 3,069
15년 전 조회 729
15년 전 조회 999
15년 전 조회 1,056
15년 전 조회 1,574
15년 전 조회 1,494
15년 전 조회 2,502
15년 전 조회 1,914
15년 전 조회 1,469
15년 전 조회 1,670
15년 전 조회 3,260
15년 전 조회 1,902
15년 전 조회 1,393
15년 전 조회 1,484
15년 전 조회 1,195
15년 전 조회 1,069
15년 전 조회 1,032
15년 전 조회 1,403
15년 전 조회 989
15년 전 조회 1,386
15년 전 조회 1,094
15년 전 조회 935
15년 전 조회 1,189
15년 전 조회 1,313
15년 전 조회 1,043
15년 전 조회 1,555
15년 전 조회 1,258
15년 전 조회 1,589
15년 전 조회 1,286
15년 전 조회 1,191
15년 전 조회 1,274
15년 전 조회 3,745
15년 전 조회 1,086
15년 전 조회 2,264
15년 전 조회 3,736
15년 전 조회 1,691
15년 전 조회 1,616
15년 전 조회 2,327
15년 전 조회 1,500
15년 전 조회 1,498
15년 전 조회 1,732
15년 전 조회 1,206
15년 전 조회 2,043
15년 전 조회 1,569
15년 전 조회 1,183
15년 전 조회 1,323
15년 전 조회 1,111
15년 전 조회 1,579
15년 전 조회 957
15년 전 조회 2,163
15년 전 조회 1,167
15년 전 조회 1,008