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,321
15년 전 조회 1,471
15년 전 조회 1,196
15년 전 조회 1,187
15년 전 조회 1,776
15년 전 조회 1,544
15년 전 조회 1,099
15년 전 조회 1,450
15년 전 조회 1,441
15년 전 조회 1,605
15년 전 조회 1,440
15년 전 조회 1,233
15년 전 조회 1,818
15년 전 조회 1,087
15년 전 조회 1,049
15년 전 조회 1,019
15년 전 조회 1,179
15년 전 조회 1,475
15년 전 조회 1,253
15년 전 조회 1,563
15년 전 조회 1,443
15년 전 조회 3,985
15년 전 조회 1,694
15년 전 조회 1,229
15년 전 조회 1,318
15년 전 조회 4,014
15년 전 조회 1,880
15년 전 조회 1,040
15년 전 조회 1,452
15년 전 조회 948
15년 전 조회 1,529
15년 전 조회 1,195
15년 전 조회 2,965
15년 전 조회 840
15년 전 조회 1,194
15년 전 조회 3,003
15년 전 조회 1,026
15년 전 조회 1,063
15년 전 조회 1,300
15년 전 조회 1,309
15년 전 조회 986
15년 전 조회 2,494
15년 전 조회 1,041
15년 전 조회 1,435
15년 전 조회 546
15년 전 조회 1,288
15년 전 조회 1,263
15년 전 조회 1,345
15년 전 조회 3,119
15년 전 조회 780
15년 전 조회 1,046
15년 전 조회 1,097
15년 전 조회 1,625
15년 전 조회 1,544
15년 전 조회 2,560
15년 전 조회 1,968
15년 전 조회 1,526
15년 전 조회 1,727
15년 전 조회 3,317
15년 전 조회 1,962
15년 전 조회 1,451
15년 전 조회 1,536
15년 전 조회 1,248
15년 전 조회 1,121
15년 전 조회 1,081
15년 전 조회 1,457
15년 전 조회 1,047
15년 전 조회 1,428
15년 전 조회 1,146
15년 전 조회 986
15년 전 조회 1,239
15년 전 조회 1,366
15년 전 조회 1,092
15년 전 조회 1,607
15년 전 조회 1,307
15년 전 조회 1,645
15년 전 조회 1,335
15년 전 조회 1,242
15년 전 조회 1,322
15년 전 조회 3,786
15년 전 조회 1,142
15년 전 조회 2,315
15년 전 조회 3,783
15년 전 조회 1,735
15년 전 조회 1,676
15년 전 조회 2,387
15년 전 조회 1,548
15년 전 조회 1,547
15년 전 조회 1,782
15년 전 조회 1,239
15년 전 조회 2,092
15년 전 조회 1,612
15년 전 조회 1,236
15년 전 조회 1,373
15년 전 조회 1,164
15년 전 조회 1,635
15년 전 조회 1,013
15년 전 조회 2,217
15년 전 조회 1,213
15년 전 조회 1,070