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,260
14년 전 조회 1,397
14년 전 조회 1,120
14년 전 조회 1,113
14년 전 조회 1,691
14년 전 조회 1,477
14년 전 조회 1,020
14년 전 조회 1,383
14년 전 조회 1,356
14년 전 조회 1,530
14년 전 조회 1,365
14년 전 조회 1,157
14년 전 조회 1,745
14년 전 조회 1,015
14년 전 조회 967
14년 전 조회 943
14년 전 조회 1,111
14년 전 조회 1,407
14년 전 조회 1,178
14년 전 조회 1,480
14년 전 조회 1,370
14년 전 조회 3,900
14년 전 조회 1,620
14년 전 조회 1,161
14년 전 조회 1,239
15년 전 조회 3,939
15년 전 조회 1,814
15년 전 조회 973
15년 전 조회 1,381
15년 전 조회 868
15년 전 조회 1,454
15년 전 조회 1,111
15년 전 조회 2,892
15년 전 조회 771
15년 전 조회 1,112
15년 전 조회 2,933
15년 전 조회 955
15년 전 조회 986
15년 전 조회 1,226
15년 전 조회 1,235
15년 전 조회 906
15년 전 조회 2,413
15년 전 조회 971
15년 전 조회 1,360
15년 전 조회 476
15년 전 조회 1,216
15년 전 조회 1,184
15년 전 조회 1,270
15년 전 조회 3,046
15년 전 조회 712
15년 전 조회 978
15년 전 조회 1,041
15년 전 조회 1,558
15년 전 조회 1,473
15년 전 조회 2,486
15년 전 조회 1,894
15년 전 조회 1,449
15년 전 조회 1,651
15년 전 조회 3,247
15년 전 조회 1,885
15년 전 조회 1,377
15년 전 조회 1,470
15년 전 조회 1,165
15년 전 조회 1,043
15년 전 조회 1,007
15년 전 조회 1,382
15년 전 조회 967
15년 전 조회 1,367
15년 전 조회 1,072
15년 전 조회 917
15년 전 조회 1,169
15년 전 조회 1,288
15년 전 조회 1,021
15년 전 조회 1,533
15년 전 조회 1,241
15년 전 조회 1,571
15년 전 조회 1,263
15년 전 조회 1,171
15년 전 조회 1,253
15년 전 조회 3,723
15년 전 조회 1,062
15년 전 조회 2,247
15년 전 조회 3,715
15년 전 조회 1,664
15년 전 조회 1,595
15년 전 조회 2,303
15년 전 조회 1,482
15년 전 조회 1,481
15년 전 조회 1,709
15년 전 조회 1,192
15년 전 조회 2,027
15년 전 조회 1,545
15년 전 조회 1,158
15년 전 조회 1,307
15년 전 조회 1,093
15년 전 조회 1,558
15년 전 조회 941
15년 전 조회 2,150
15년 전 조회 1,147
15년 전 조회 987
🐛 버그신고