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,335
15년 전 조회 1,488
15년 전 조회 1,210
15년 전 조회 1,202
15년 전 조회 1,788
15년 전 조회 1,566
15년 전 조회 1,113
15년 전 조회 1,465
15년 전 조회 1,455
15년 전 조회 1,625
15년 전 조회 1,452
15년 전 조회 1,251
15년 전 조회 1,833
15년 전 조회 1,108
15년 전 조회 1,066
15년 전 조회 1,032
15년 전 조회 1,193
15년 전 조회 1,488
15년 전 조회 1,268
15년 전 조회 1,575
15년 전 조회 1,455
15년 전 조회 3,997
15년 전 조회 1,712
15년 전 조회 1,242
15년 전 조회 1,332
15년 전 조회 4,025
15년 전 조회 1,901
15년 전 조회 1,052
15년 전 조회 1,465
15년 전 조회 966
15년 전 조회 1,547
15년 전 조회 1,207
15년 전 조회 2,986
15년 전 조회 856
15년 전 조회 1,213
15년 전 조회 3,024
15년 전 조회 1,046
15년 전 조회 1,081
15년 전 조회 1,313
15년 전 조회 1,329
15년 전 조회 996
15년 전 조회 2,510
15년 전 조회 1,053
15년 전 조회 1,448
15년 전 조회 561
15년 전 조회 1,303
15년 전 조회 1,277
15년 전 조회 1,360
15년 전 조회 3,137
15년 전 조회 795
15년 전 조회 1,065
15년 전 조회 1,120
15년 전 조회 1,639
15년 전 조회 1,563
15년 전 조회 2,576
15년 전 조회 1,985
15년 전 조회 1,541
15년 전 조회 1,747
15년 전 조회 3,337
15년 전 조회 1,976
15년 전 조회 1,467
15년 전 조회 1,557
15년 전 조회 1,269
15년 전 조회 1,136
15년 전 조회 1,098
15년 전 조회 1,472
15년 전 조회 1,067
15년 전 조회 1,447
15년 전 조회 1,162
15년 전 조회 994
15년 전 조회 1,256
15년 전 조회 1,379
15년 전 조회 1,111
15년 전 조회 1,623
15년 전 조회 1,328
15년 전 조회 1,665
15년 전 조회 1,349
15년 전 조회 1,257
15년 전 조회 1,342
15년 전 조회 3,803
15년 전 조회 1,153
15년 전 조회 2,328
15년 전 조회 3,800
15년 전 조회 1,744
15년 전 조회 1,689
15년 전 조회 2,401
15년 전 조회 1,566
15년 전 조회 1,563
15년 전 조회 1,801
15년 전 조회 1,253
15년 전 조회 2,108
15년 전 조회 1,627
15년 전 조회 1,254
15년 전 조회 1,390
15년 전 조회 1,177
15년 전 조회 1,649
15년 전 조회 1,028
15년 전 조회 2,233
15년 전 조회 1,234
15년 전 조회 1,084