2006년 12월 22일
OLD_PASSWORD();
MYSQL 의 패스워드 경우... old_ 로 바꿔주자
SET PASSWORD FOR 'bob'@'%.host.com' = OLD_PASSWORD('password');
That is equivalent to the following statements:
UPDATE mysql.user SET Password=OLD_PASSWORD('password')
WHERE User='bob' AND Host='%.host.com';
FLUSH PRIVILEGES;
/***********************************************/
테이블 구조만 남기고 데이터만 지울때는?
TRUNCATE '테이블명';
SET PASSWORD FOR 'bob'@'%.host.com' = OLD_PASSWORD('password');
That is equivalent to the following statements:
UPDATE mysql.user SET Password=OLD_PASSWORD('password')
WHERE User='bob' AND Host='%.host.com';
FLUSH PRIVILEGES;
/***********************************************/
테이블 구조만 남기고 데이터만 지울때는?
TRUNCATE '테이블명';
# by | 2006/12/22 21:59 | APMming~!!! | 트랙백 | 덧글(0)















☞ 내 이글루에 이 글과 관련된 글 쓰기 (트랙백 보내기) [도움말]