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,251
14년 전 조회 1,388
14년 전 조회 1,110
14년 전 조회 1,104
14년 전 조회 1,684
14년 전 조회 1,466
14년 전 조회 1,011
14년 전 조회 1,376
14년 전 조회 1,347
14년 전 조회 1,521
14년 전 조회 1,356
14년 전 조회 1,144
14년 전 조회 1,735
14년 전 조회 1,009
14년 전 조회 957
14년 전 조회 936
14년 전 조회 1,100
14년 전 조회 1,396
14년 전 조회 1,169
14년 전 조회 1,471
14년 전 조회 1,359
14년 전 조회 3,893
14년 전 조회 1,607
14년 전 조회 1,154
14년 전 조회 1,233
14년 전 조회 3,930
14년 전 조회 1,805
14년 전 조회 964
14년 전 조회 1,370
14년 전 조회 857
14년 전 조회 1,443
14년 전 조회 1,104
14년 전 조회 2,883
14년 전 조회 763
14년 전 조회 1,104
14년 전 조회 2,923
14년 전 조회 948
14년 전 조회 977
14년 전 조회 1,221
14년 전 조회 1,226
14년 전 조회 897
14년 전 조회 2,404
14년 전 조회 963
14년 전 조회 1,353
14년 전 조회 465
14년 전 조회 1,206
14년 전 조회 1,176
14년 전 조회 1,259
14년 전 조회 3,036
14년 전 조회 701
14년 전 조회 968
14년 전 조회 1,029
15년 전 조회 1,547
15년 전 조회 1,464
15년 전 조회 2,478
15년 전 조회 1,885
15년 전 조회 1,442
15년 전 조회 1,640
15년 전 조회 3,236
15년 전 조회 1,878
15년 전 조회 1,369
15년 전 조회 1,461
15년 전 조회 1,156
15년 전 조회 1,035
15년 전 조회 998
15년 전 조회 1,372
15년 전 조회 962
15년 전 조회 1,354
15년 전 조회 1,065
15년 전 조회 905
15년 전 조회 1,161
15년 전 조회 1,280
15년 전 조회 1,011
15년 전 조회 1,521
15년 전 조회 1,235
15년 전 조회 1,559
15년 전 조회 1,254
15년 전 조회 1,162
15년 전 조회 1,244
15년 전 조회 3,713
15년 전 조회 1,052
15년 전 조회 2,233
15년 전 조회 3,705
15년 전 조회 1,654
15년 전 조회 1,588
15년 전 조회 2,295
15년 전 조회 1,474
15년 전 조회 1,474
15년 전 조회 1,698
15년 전 조회 1,183
15년 전 조회 2,020
15년 전 조회 1,538
15년 전 조회 1,149
15년 전 조회 1,297
15년 전 조회 1,082
15년 전 조회 1,548
15년 전 조회 932
15년 전 조회 2,143
15년 전 조회 1,140
15년 전 조회 978
🐛 버그신고