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,633
15년 전 조회 1,794
15년 전 조회 1,488
15년 전 조회 1,470
15년 전 조회 2,061
15년 전 조회 1,860
15년 전 조회 1,422
15년 전 조회 1,738
15년 전 조회 1,746
15년 전 조회 1,924
15년 전 조회 1,762
15년 전 조회 1,538
15년 전 조회 2,145
15년 전 조회 1,394
15년 전 조회 1,368
15년 전 조회 1,325
15년 전 조회 1,478
15년 전 조회 1,790
15년 전 조회 1,574
15년 전 조회 1,853
15년 전 조회 1,771
15년 전 조회 4,277
15년 전 조회 1,994
15년 전 조회 1,525
15년 전 조회 1,628
15년 전 조회 4,305
15년 전 조회 2,188
15년 전 조회 1,371
15년 전 조회 1,761
15년 전 조회 1,254
15년 전 조회 1,870
15년 전 조회 1,509
15년 전 조회 3,299
15년 전 조회 1,178
15년 전 조회 1,518
15년 전 조회 3,361
15년 전 조회 1,355
15년 전 조회 1,394
15년 전 조회 1,634
15년 전 조회 1,612
15년 전 조회 1,294
15년 전 조회 2,875
15년 전 조회 1,354
15년 전 조회 1,754
15년 전 조회 869
15년 전 조회 1,619
15년 전 조회 1,581
15년 전 조회 1,687
15년 전 조회 3,492
15년 전 조회 1,106
15년 전 조회 1,386
15년 전 조회 1,446
15년 전 조회 1,943
15년 전 조회 1,873
15년 전 조회 2,900
15년 전 조회 2,294
15년 전 조회 1,834
15년 전 조회 2,061
15년 전 조회 3,630
15년 전 조회 2,268
15년 전 조회 1,786
15년 전 조회 1,862
15년 전 조회 1,574
15년 전 조회 1,453
15년 전 조회 1,409
15년 전 조회 1,802
15년 전 조회 1,365
15년 전 조회 1,757
15년 전 조회 1,481
15년 전 조회 1,310
15년 전 조회 1,550
15년 전 조회 1,682
15년 전 조회 1,432
15년 전 조회 1,928
15년 전 조회 1,685
15년 전 조회 1,946
15년 전 조회 1,674
15년 전 조회 1,567
15년 전 조회 1,640
15년 전 조회 4,123
15년 전 조회 1,458
15년 전 조회 2,650
15년 전 조회 4,110
15년 전 조회 2,072
15년 전 조회 2,001
15년 전 조회 2,705
15년 전 조회 1,878
15년 전 조회 1,894
15년 전 조회 2,115
15년 전 조회 1,565
15년 전 조회 2,408
15년 전 조회 1,933
15년 전 조회 1,551
15년 전 조회 1,703
15년 전 조회 1,468
15년 전 조회 1,951
15년 전 조회 1,338
15년 전 조회 2,535
15년 전 조회 1,557
15년 전 조회 1,342