게시물 139건
   
ERROR 1251: Client does not support authentication protocol requested by server; consider upgrading MySQL client
글쓴이 : 최고관리자 날짜 : 2010-12-14 (화) 10:52 조회 : 15079
글주소 :
                          

ERROR 1251: Client does not support authentication protocol requested by server; consider upgrading MySQL client

기존에 문자발송 업체를 Dacom 에서 KT로 변경하면서 MYSQL 버전도 같이 업그레이드 해주면서 생긴문제이다.
기존 데이콤 MYSQL은 3.x 를 사용하였고 이번 변경할 KT는 5.1.34 이용

[root@localhost ]# /usr/local/mysql/bin/mysql -u user -p password -Ddatabase -h 192.168.xx.xx
ERROR 1251: Client does not support authentication protocol requested by server; consider upgrading MySQL client
=> MySQL 클라이언트를 업그레이드 하라는 에러메세지 출력
    MySQL 업데이트되면서 패스워드 저장방식이 바뀌면서 생기는 에러이다.


# 서버 디비버전
Server version: 5.1.34-log Source distribution


# 서버 계정을 OLD_PASSWORD 방식으로 바꿔주면 해결
mysql> use mysql;

mysql> update user set Password=old_password('*******') WHERE User='user';
Query OK, 1 row affected (0.00 sec)
Rows matched: 1  Changed: 1  Warnings: 0

mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)

이름 패스워드
비밀글 (체크하면 글쓴이만 내용을 확인할 수 있습니다.)
왼쪽의 글자를 입력하세요.
   

 



 
사이트명 : 모지리네 | 대표 : 이경현 | 개인커뮤니티 : 랭키닷컴 운영체제(OS) | 경기도 성남시 분당구 | 전자우편 : mojily골뱅이chonnom.com Copyright ⓒ www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.