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,245
14년 전 조회 1,383
14년 전 조회 1,106
14년 전 조회 1,098
14년 전 조회 1,679
14년 전 조회 1,462
14년 전 조회 1,006
14년 전 조회 1,371
14년 전 조회 1,342
14년 전 조회 1,515
14년 전 조회 1,351
14년 전 조회 1,140
14년 전 조회 1,729
14년 전 조회 1,000
14년 전 조회 951
14년 전 조회 929
14년 전 조회 1,093
14년 전 조회 1,392
14년 전 조회 1,162
14년 전 조회 1,466
14년 전 조회 1,351
14년 전 조회 3,888
14년 전 조회 1,603
14년 전 조회 1,148
14년 전 조회 1,227
14년 전 조회 3,925
14년 전 조회 1,798
14년 전 조회 958
14년 전 조회 1,365
14년 전 조회 852
14년 전 조회 1,438
14년 전 조회 1,098
14년 전 조회 2,879
14년 전 조회 758
14년 전 조회 1,098
14년 전 조회 2,917
14년 전 조회 941
14년 전 조회 971
14년 전 조회 1,216
14년 전 조회 1,222
14년 전 조회 891
14년 전 조회 2,399
14년 전 조회 957
14년 전 조회 1,347
14년 전 조회 461
14년 전 조회 1,202
14년 전 조회 1,170
14년 전 조회 1,253
14년 전 조회 3,032
14년 전 조회 697
14년 전 조회 964
14년 전 조회 1,025
14년 전 조회 1,543
14년 전 조회 1,460
14년 전 조회 2,472
14년 전 조회 1,881
14년 전 조회 1,438
14년 전 조회 1,636
14년 전 조회 3,233
15년 전 조회 1,871
15년 전 조회 1,364
15년 전 조회 1,456
15년 전 조회 1,152
15년 전 조회 1,032
15년 전 조회 995
15년 전 조회 1,366
15년 전 조회 957
15년 전 조회 1,347
15년 전 조회 1,061
15년 전 조회 901
15년 전 조회 1,155
15년 전 조회 1,273
15년 전 조회 1,003
15년 전 조회 1,518
15년 전 조회 1,231
15년 전 조회 1,554
15년 전 조회 1,246
15년 전 조회 1,159
15년 전 조회 1,240
15년 전 조회 3,709
15년 전 조회 1,048
15년 전 조회 2,229
15년 전 조회 3,701
15년 전 조회 1,652
15년 전 조회 1,582
15년 전 조회 2,290
15년 전 조회 1,465
15년 전 조회 1,469
15년 전 조회 1,691
15년 전 조회 1,178
15년 전 조회 2,014
15년 전 조회 1,532
15년 전 조회 1,144
15년 전 조회 1,293
15년 전 조회 1,078
15년 전 조회 1,547
15년 전 조회 926
15년 전 조회 2,135
15년 전 조회 1,134
15년 전 조회 973
🐛 버그신고