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에서의 패스워드 보안"을 참조하세요.

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

프로그램

+
제목 글쓴이 날짜 조회
14년 전 조회 1,263
14년 전 조회 1,401
14년 전 조회 1,124
14년 전 조회 1,117
14년 전 조회 1,700
14년 전 조회 1,481
14년 전 조회 1,022
14년 전 조회 1,386
14년 전 조회 1,358
14년 전 조회 1,534
14년 전 조회 1,370
14년 전 조회 1,161
14년 전 조회 1,749
14년 전 조회 1,021
14년 전 조회 970
14년 전 조회 949
15년 전 조회 1,115
15년 전 조회 1,412
15년 전 조회 1,181
15년 전 조회 1,484
15년 전 조회 1,374
15년 전 조회 3,904
15년 전 조회 1,622
15년 전 조회 1,167
15년 전 조회 1,245
15년 전 조회 3,943
15년 전 조회 1,817
15년 전 조회 977
15년 전 조회 1,385
15년 전 조회 871
15년 전 조회 1,455
15년 전 조회 1,118
15년 전 조회 2,894
15년 전 조회 777
15년 전 조회 1,116
15년 전 조회 2,937
15년 전 조회 960
15년 전 조회 990
15년 전 조회 1,229
15년 전 조회 1,244
15년 전 조회 911
15년 전 조회 2,418
15년 전 조회 975
15년 전 조회 1,365
15년 전 조회 479
15년 전 조회 1,219
15년 전 조회 1,189
15년 전 조회 1,272
15년 전 조회 3,051
15년 전 조회 715
15년 전 조회 983
15년 전 조회 1,043
15년 전 조회 1,562
15년 전 조회 1,476
15년 전 조회 2,489
15년 전 조회 1,901
15년 전 조회 1,453
15년 전 조회 1,654
15년 전 조회 3,250
15년 전 조회 1,888
15년 전 조회 1,383
15년 전 조회 1,476
15년 전 조회 1,173
15년 전 조회 1,051
15년 전 조회 1,010
15년 전 조회 1,387
15년 전 조회 973
15년 전 조회 1,370
15년 전 조회 1,076
15년 전 조회 921
15년 전 조회 1,174
15년 전 조회 1,294
15년 전 조회 1,027
15년 전 조회 1,537
15년 전 조회 1,247
15년 전 조회 1,573
15년 전 조회 1,267
15년 전 조회 1,176
15년 전 조회 1,255
15년 전 조회 3,728
15년 전 조회 1,067
15년 전 조회 2,250
15년 전 조회 3,718
15년 전 조회 1,670
15년 전 조회 1,601
15년 전 조회 2,307
15년 전 조회 1,485
15년 전 조회 1,487
15년 전 조회 1,712
15년 전 조회 1,196
15년 전 조회 2,032
15년 전 조회 1,551
15년 전 조회 1,163
15년 전 조회 1,309
15년 전 조회 1,097
15년 전 조회 1,563
15년 전 조회 944
15년 전 조회 2,153
15년 전 조회 1,152
15년 전 조회 993
🐛 버그신고