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,353
15년 전 조회 1,507
15년 전 조회 1,224
15년 전 조회 1,212
15년 전 조회 1,800
15년 전 조회 1,582
15년 전 조회 1,131
15년 전 조회 1,479
15년 전 조회 1,464
15년 전 조회 1,638
15년 전 조회 1,471
15년 전 조회 1,263
15년 전 조회 1,857
15년 전 조회 1,125
15년 전 조회 1,081
15년 전 조회 1,041
15년 전 조회 1,205
15년 전 조회 1,502
15년 전 조회 1,279
15년 전 조회 1,589
15년 전 조회 1,476
15년 전 조회 4,015
15년 전 조회 1,725
15년 전 조회 1,253
15년 전 조회 1,347
15년 전 조회 4,038
15년 전 조회 1,913
15년 전 조회 1,072
15년 전 조회 1,478
15년 전 조회 980
15년 전 조회 1,558
15년 전 조회 1,225
15년 전 조회 2,997
15년 전 조회 873
15년 전 조회 1,225
15년 전 조회 3,043
15년 전 조회 1,062
15년 전 조회 1,098
15년 전 조회 1,325
15년 전 조회 1,338
15년 전 조회 1,008
15년 전 조회 2,517
15년 전 조회 1,069
15년 전 조회 1,458
15년 전 조회 579
15년 전 조회 1,314
15년 전 조회 1,295
15년 전 조회 1,373
15년 전 조회 3,151
15년 전 조회 815
15년 전 조회 1,078
15년 전 조회 1,140
15년 전 조회 1,656
15년 전 조회 1,579
15년 전 조회 2,592
15년 전 조회 1,997
15년 전 조회 1,552
15년 전 조회 1,761
15년 전 조회 3,346
15년 전 조회 1,991
15년 전 조회 1,481
15년 전 조회 1,574
15년 전 조회 1,278
15년 전 조회 1,146
15년 전 조회 1,110
15년 전 조회 1,485
15년 전 조회 1,079
15년 전 조회 1,465
15년 전 조회 1,174
15년 전 조회 1,010
15년 전 조회 1,269
15년 전 조회 1,397
15년 전 조회 1,124
15년 전 조회 1,638
15년 전 조회 1,341
15년 전 조회 1,675
15년 전 조회 1,361
15년 전 조회 1,272
15년 전 조회 1,355
15년 전 조회 3,821
15년 전 조회 1,170
15년 전 조회 2,343
15년 전 조회 3,818
15년 전 조회 1,762
15년 전 조회 1,698
15년 전 조회 2,408
15년 전 조회 1,581
15년 전 조회 1,588
15년 전 조회 1,817
15년 전 조회 1,271
15년 전 조회 2,122
15년 전 조회 1,642
15년 전 조회 1,263
15년 전 조회 1,400
15년 전 조회 1,194
15년 전 조회 1,662
15년 전 조회 1,044
15년 전 조회 2,245
15년 전 조회 1,244
15년 전 조회 1,096