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,266
14년 전 조회 1,406
15년 전 조회 1,125
15년 전 조회 1,122
15년 전 조회 1,703
15년 전 조회 1,481
15년 전 조회 1,026
15년 전 조회 1,390
15년 전 조회 1,363
15년 전 조회 1,538
15년 전 조회 1,375
15년 전 조회 1,165
15년 전 조회 1,754
15년 전 조회 1,022
15년 전 조회 973
15년 전 조회 952
15년 전 조회 1,121
15년 전 조회 1,416
15년 전 조회 1,185
15년 전 조회 1,485
15년 전 조회 1,382
15년 전 조회 3,910
15년 전 조회 1,626
15년 전 조회 1,170
15년 전 조회 1,249
15년 전 조회 3,944
15년 전 조회 1,820
15년 전 조회 979
15년 전 조회 1,390
15년 전 조회 875
15년 전 조회 1,462
15년 전 조회 1,120
15년 전 조회 2,901
15년 전 조회 781
15년 전 조회 1,121
15년 전 조회 2,941
15년 전 조회 964
15년 전 조회 994
15년 전 조회 1,232
15년 전 조회 1,247
15년 전 조회 914
15년 전 조회 2,425
15년 전 조회 980
15년 전 조회 1,370
15년 전 조회 484
15년 전 조회 1,220
15년 전 조회 1,197
15년 전 조회 1,278
15년 전 조회 3,052
15년 전 조회 718
15년 전 조회 984
15년 전 조회 1,046
15년 전 조회 1,566
15년 전 조회 1,479
15년 전 조회 2,491
15년 전 조회 1,905
15년 전 조회 1,456
15년 전 조회 1,660
15년 전 조회 3,254
15년 전 조회 1,894
15년 전 조회 1,385
15년 전 조회 1,478
15년 전 조회 1,174
15년 전 조회 1,051
15년 전 조회 1,013
15년 전 조회 1,393
15년 전 조회 979
15년 전 조회 1,373
15년 전 조회 1,079
15년 전 조회 923
15년 전 조회 1,178
15년 전 조회 1,298
15년 전 조회 1,030
15년 전 조회 1,541
15년 전 조회 1,250
15년 전 조회 1,575
15년 전 조회 1,270
15년 전 조회 1,180
15년 전 조회 1,259
15년 전 조회 3,731
15년 전 조회 1,068
15년 전 조회 2,253
15년 전 조회 3,720
15년 전 조회 1,673
15년 전 조회 1,607
15년 전 조회 2,309
15년 전 조회 1,487
15년 전 조회 1,491
15년 전 조회 1,713
15년 전 조회 1,202
15년 전 조회 2,036
15년 전 조회 1,554
15년 전 조회 1,166
15년 전 조회 1,311
15년 전 조회 1,100
15년 전 조회 1,564
15년 전 조회 949
15년 전 조회 2,158
15년 전 조회 1,156
15년 전 조회 994