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개
jacobswell
14년 전
뒷 부분을 빼먹으신듯... 뒷 부분에 그 까닭이 나옵니다.
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에서의 패스워드 보안"을 참조하세요.
영어 부분을 긁어왔더니 댓글입력에서 지워지는 바람에 다시 번역해서 올립니다...
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에서의 패스워드 보안"을 참조하세요.
영어 부분을 긁어왔더니 댓글입력에서 지워지는 바람에 다시 번역해서 올립니다...
게시글 목록
| 번호 | 제목 |
|---|---|
| 8050 | |
| 8048 | |
| 19969 |
MySQL
mysql 상태를 확인 하는 방법
|
| 19968 |
MySQL
mysql 실시간 processlist
|
| 19967 | |
| 19966 | |
| 19965 |
MySQL
mysql 일반적인 최적화 팁
|
| 19964 |
기타
간단한 리눅스 명령어
|
| 19963 | |
| 19962 |
MySQL
mysql 데이터 경로 바꾸기
|
| 19961 |
MySQL
mysql 운영팁. 느린 쿼리를 발견하기
|
| 28345 | |
| 31017 | |
| 19960 | |
| 19959 |
MySQL
mysql index에 대해..
|
| 19958 |
MySQL
구분자는 enum으로
|
| 19957 |
MySQL
mysql zerofill에 대해
|
| 8039 | |
| 8035 | |
| 8029 | |
| 28344 | |
| 28339 | |
| 8019 | |
| 28338 | |
| 8017 | |
| 8010 | |
| 8007 | |
| 8004 | |
| 8003 | |
| 28332 | |
| 28322 | |
| 7999 | |
| 28317 | |
| 20956 | |
| 7992 | |
| 20945 | |
| 28314 | |
| 20936 | |
| 20931 | |
| 7986 | |
| 20925 | |
| 7982 | |
| 7979 | |
| 7978 | |
| 7975 | |
| 28307 | |
| 7973 | |
| 7966 | |
| 28305 | |
| 7963 | |
| 28300 | |
| 7961 | |
| 28297 | |
| 28295 | |
| 7959 | |
| 19948 | |
| 19947 | |
| 28292 | |
| 31016 | |
| 19946 | |
| 19945 | |
| 28286 | |
| 7958 | |
| 7956 | |
| 7952 | |
| 7946 | |
| 28285 | |
| 28283 | |
| 19943 | |
| 7944 | |
| 7936 | |
| 7931 | |
| 28279 | |
| 24666 | |
| 24663 | |
| 7928 | |
| 7923 | |
| 19941 |
MySQL
phpMyAdmin 시간 늘리기
1
|
| 28274 | |
| 28257 | |
| 28249 | |
| 28248 | |
| 7914 | |
| 7912 | |
| 7911 | |
| 20912 | |
| 7908 | |
| 31755 |
부트스트랩
부트스트랩 MIT 라이센스?
4
|
| 28233 | |
| 28232 | |
| 28228 | |
| 7903 | |
| 28217 | |
| 20900 | |
| 24662 | |
| 20891 | |
| 20882 | |
| 19936 | |
| 20853 | |
| 31011 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기