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,697
15년 전 조회 1,852
15년 전 조회 1,556
15년 전 조회 1,535
15년 전 조회 2,143
15년 전 조회 1,929
15년 전 조회 1,485
15년 전 조회 1,810
15년 전 조회 1,823
15년 전 조회 1,985
15년 전 조회 1,823
15년 전 조회 1,613
15년 전 조회 2,216
15년 전 조회 1,456
15년 전 조회 1,427
15년 전 조회 1,395
15년 전 조회 1,556
15년 전 조회 1,877
15년 전 조회 1,649
15년 전 조회 1,918
15년 전 조회 1,835
15년 전 조회 4,343
15년 전 조회 2,067
15년 전 조회 1,602
15년 전 조회 1,681
15년 전 조회 4,370
15년 전 조회 2,256
15년 전 조회 1,435
15년 전 조회 1,836
15년 전 조회 1,324
15년 전 조회 1,934
15년 전 조회 1,586
15년 전 조회 3,374
15년 전 조회 1,244
15년 전 조회 1,592
15년 전 조회 3,440
15년 전 조회 1,430
15년 전 조회 1,466
15년 전 조회 1,694
15년 전 조회 1,703
15년 전 조회 1,364
15년 전 조회 2,937
15년 전 조회 1,424
15년 전 조회 1,814
15년 전 조회 930
15년 전 조회 1,679
15년 전 조회 1,634
15년 전 조회 1,747
15년 전 조회 3,551
15년 전 조회 1,178
15년 전 조회 1,437
15년 전 조회 1,509
15년 전 조회 2,017
15년 전 조회 1,952
15년 전 조회 2,951
15년 전 조회 2,353
15년 전 조회 1,899
15년 전 조회 2,126
15년 전 조회 3,706
15년 전 조회 2,343
15년 전 조회 1,847
15년 전 조회 1,932
15년 전 조회 1,646
15년 전 조회 1,518
15년 전 조회 1,457
15년 전 조회 1,869
15년 전 조회 1,422
15년 전 조회 1,823
15년 전 조회 1,536
15년 전 조회 1,371
15년 전 조회 1,620
15년 전 조회 1,746
15년 전 조회 1,502
15년 전 조회 1,985
15년 전 조회 1,736
15년 전 조회 2,007
15년 전 조회 1,736
15년 전 조회 1,626
15년 전 조회 1,706
15년 전 조회 4,180
15년 전 조회 1,531
15년 전 조회 2,705
15년 전 조회 4,166
15년 전 조회 2,133
15년 전 조회 2,058
15년 전 조회 2,769
15년 전 조회 1,938
15년 전 조회 1,950
15년 전 조회 2,171
15년 전 조회 1,619
15년 전 조회 2,478
15년 전 조회 2,000
15년 전 조회 1,607
15년 전 조회 1,765
15년 전 조회 1,546
15년 전 조회 2,012
15년 전 조회 1,399
15년 전 조회 2,599
15년 전 조회 1,608
15년 전 조회 1,407